top | item 9624361

What’s new in Play 2.4

59 points| acjohnson55 | 10 years ago |playframework.com | reply

34 comments

order
[+] benmccann|10 years ago|reply
This submission's title is horribly misleading because Play is not a Scala web framework. It's a web framework for Java and Scala.

As someone who's used Play heavily for the past couple of years, I'm very excited by this release, which is Play's best yet.

[+] rmsaksida|10 years ago|reply
Do you use Play with Java?

I always thought Play looked incredible, but the focus on Scala puts me off. Every time I tried it, Java seemed like a second-class citizen in the Play world. I don't have anything against Scala, I'm just not really interested in learning it, especially if I all I want to do is use a web framework.

[+] sctb|10 years ago|reply
Thanks, we updated the title to that of the article.
[+] dk8996|10 years ago|reply
I've been using Play for about 2+ years with Scala. I think it's a cool framework and has removed most of complexity that you see with other JVM-Web frameworks. There are few things that are still missing, like up-to-date docs. and bundled ORM. The plugin community needs to be better organized so it has potential to become a gem like community.
[+] justthistime_|10 years ago|reply
> up-to-date docs

Which parts are out-of-date?

> and bundled ORM

Didn't they just go the other way, de-bundling all persistence APIs/libs?

What's wrong with just picking the one that's right for your use-case and using just that?

[+] meddlepal|10 years ago|reply
I still miss the simplicity of Play 1.x... also does Play 2 have a admin CRUD module yet?
[+] benmccann|10 years ago|reply
Play 1's code generation / scaffolding for CRUD apps was nice. It would be a cool feature to add to Play 2.

I really find Play 2 to be an enormous improvement over Play 1 though. As just one example, deploying your app is so much easier in Play 2. Play 1 expected you to install the framework on your production machines. Play 2 has built-in support for building deb/rpm packages, docker containers, zip archives, etc. which makes deploying so much easier.

[+] bluedevil2k|10 years ago|reply
Agreed - I feel like the simplicity was lost in order to make the framework more scalable, when 95% of sites don't need the added scalability it provides.
[+] papercrane|10 years ago|reply
Glad to see they are requiring Java 8. Should make writing play applications in Java a lot nicer.
[+] clw8|10 years ago|reply
Interesting that Java 8 is a strict requirement. I'm curious what version of Java is most common in enterprise these days?
[+] dopeboy|10 years ago|reply
Can someone compare this framework to Django or Rails? Java was my first language and I sorely miss a lot of aspects in it. Would be interested to know about the learning curve, performance, and ORM.
[+] tajen|10 years ago|reply
And how does it compare to DropWizard? I'm porting a plugin from Atlassian Confluence to make it a standalone app, and I'm leaning for DropWizard because I can reuse and share the common code made of Jersey REST resouces and synchronous calls.

Both Play and DropWizard seem to have the same goal, Play being more integrated and scalable, DropWizard more respectful of existing Java frameworks.

[+] bsaul|10 years ago|reply
I've recently tried to use play with scala on a new project after having had a very pleasant first experience with play/java, but found the overall experience much much less convincing. IDEs often don't work well with the language, and some key parts of the framework such as ORM seem still a work in progress.

Anyone else had the same feeling here ? I came to the conclusion that play should advocate the use of java as the preferred language if they want to grow their user base even more.

[+] redtuesday|10 years ago|reply
Great release, I especially like the built in reverse router for subprojects and the better dependency injection aproach.
[+] kailuowang|10 years ago|reply
Page layout doesnt look right on my android 5.1 tablet chrome even after I requested the desktop version.
[+] goralph|10 years ago|reply
Great release, kudos to the team.
[+] eranation|10 years ago|reply
Dependency injection was one of the barrier of entry for me. This is a huge milestone.
[+] matt_kantor|10 years ago|reply
FYI, this URL is anchored towards the bottom of the page. Scroll up to see everything.
[+] benburton|10 years ago|reply
Standardized dependency injection is great news! The Play application I work on has a home-grown dependency injection system that leaves a lot to be desired. It will be great to see a more standard way of doing this.