Core Java
The Pros and Cons of Play and Grails Java Framework
Frameworks simplify the process of application development by providing some helpful features to programmers. Java frameworks are often used by developers and thanks to their popularity; you can find a range of Java development frameworks in the market. Newbie developers often post a common question in forums, “which Java framework is the best?”
First of all, there is no one framework that is best because all of them have some advantages and disadvantages. Therefore, you must decide considering the project requirements. You must think about the key factors like scalability, complexity, deadline and, obviously, budget.
Today, we will discuss the pros and cons of two very popular Java frameworks- Play and Grails.


In Play framework you can use java language and you are not restricted to use scala!
It is ridiculous that you say you must buy intellij to get use grails. The official ide which is based on the spring tool suite(which is based on eclipse) has many features and works great for grails development. Telling people they have to pay money to use it would keep them from even trying grails and creates a very unfair analysis of pros vs cons.
Grails also works very well with hibernate mapped/annotated classes so you are quite incorrect in saying it does not work with any other ORM.
Stop doing comparison of frameworks if at the last all you can say is “Choose the framework according to your project requirements”. At least give the readers some examples and scenarios like for which type of projects you should choose playframework and for which type of projects you should go for grails.
“Boni Satani is a Java Technology Consultant working with Cygnet Infotech. He has undertaken various Projects in Java Web Application Development and J2EE Application Development including their maintenance and migration.” ¿WTF? It’s the worst analysis I read in months……
What a bad analysis. Your article clearly says you are against Grails.
“Interpreted languages increase weight and that directly affects the run time.” You can compile and run grails. it is lot faster than grails run-app. “You must learn Groovy coding.” Groovy is way more easy to learn than Java. You could mix your code between Groovy style and Java style. That’s the advantages I think. “You have to buy IntelliJ Idea because other IDE’s either don’t have or provide limited support.” Springtools suite offered for free. I use VIM for many years. I use Intellij Idea recently *just bought it for 3-4 months and sometimes I still using vim for my… Read more »
I support the fact that you can use Java code in Play.
For a thorough analysis of Java web frameworks, check out the report here:
http://pages.zeroturnaround.com/RebelLabs-AllReportLanders_The2014DecisionMakersGuidetoJavaWebFrameworks.html
“There is no best framework, there are some awesome choices”. Choose the one you are comfortable with and works for you. I am using grails, it works for my mid size project, where performance is not a big issue. For high throughput application go for Play with Scala.
http://www.slideshare.net/mraible/comparing-jvm-web-frameworks-devoxx-france-2013?next_slideshow=1
It is nice to see “the facts” for some frameworks, but the new generation of programmers forgot to see the important facts of programming and that is performance. That are facts I am really missing here like compaikm, j^ CPU, Ram, etc. Of course you can use frameworks which are always have to use generics, but I think you will have more overhead. But I agree that the frameworks are interesting ti create more flexible applications with a good library base of java and then you can extend or change the requirements on the fly.
I have lot of experience wih php and want to learn java and java web framework . Should i use grails?
I would say probably start with Grails. The real advantage of Grails is you can really quickly create a working application without going having a deep understanding of the Java stack. Play is really cool, but scaffold something up in Grails then migrate to a front end MVC you can get the best of all worlds.