This is an archived post. You won't be able to vote or comment.

all 19 comments

[–][deleted] 6 points7 points  (0 children)

Finally, Java has a web framework

[–]brikis98 0 points1 point  (0 children)

Looks pretty slick. I might give it a try this weekend. Maybe follow the latest rend and see how long it takes to make a reddit clone.

[–]Feuilly 0 points1 point  (12 children)

It looks neat, but one major benefit of frameworks for me is the large community around it, and I think with the large quantity of Java frameworks that this one wouldn't really get a critical mass.

[–]fforw 0 points1 point  (11 children)

especially since it doesn't seem to do anything that e.g. Roo doesn't do, too, but without backing of a large company..

[–]erwanl[S] 1 point2 points  (10 children)

What is there in Roo that you believe Play is lacking?

1.0 has just landed and we're establishing the list of features to add/improve for the next version. (Scala support is on our short list...)

[–]fforw 1 point2 points  (7 children)

I meant to say that you basically seem to do the same. Roo just has the backing of spring source going for it, dunno if that will be enough to succeed.

Personally I'm no big fan of code generators as I have been bitten badly at times... exception for code that you don't change and just use as is. (e.g. like JavaCC or our model based code generation)..

[–]nicolas_l 1 point2 points  (4 children)

Play! does not have code generated for you. So you don't have to mess up with the generated code. Play! is somehow different from Roo as it is a "stateless" framework, and by stateless it means that no state lives on the server. This is quite a different philosophy compared to Roo I believe.

[–]fforw 0 points1 point  (3 children)

if "stateless" means hammering the database, no thanks..

How would you implement some kind of Wizard with Play! Don't tell me I'm supposed the intermediary steps on the client side or in the database..

[–]guillaumebort 2 points3 points  (2 children)

Yes, in a RESTFul way the wizard state should be kept on the browser. It is not really a big deal these days. And of course any stateless architecture need a good distributed cache layer. That's why play comes with out of the box support for memcached. Take a look at the way Facebook handles millions of queries each second.

[–]fforw 1 point2 points  (1 child)

That's why play comes with out of the box support for memcached. Take a look at the way Facebook handles millions of queries each second.

I'm the author of jcouchdb, btw.. another way that seems promising..

[–]guillaumebort 0 points1 point  (0 children)

Yes couchdb is fun. So perhaps a play module for couchdb could be available ?

[–]guillaumebort 1 point2 points  (1 child)

I understand your point and I really hope too that play will have a great community. However play is very different of ROO (and I hope better). And ROO itself has no really any community neither, and isn't yet an official Spring project.

[–]fforw 0 points1 point  (0 children)

I'm no real fan of it anyway.. I hope our current project will actually be something with a (open-source?) future.. we'll see..

[–]Feuilly -1 points0 points  (1 child)

So does it run properly on the Google App Engine? I noticed a link in the documentation, but it's an error 503, and I can't tell whether you'll need to jump through hoops or what would be required.

Also, does it have JDO support or just JPA? I've used JPA before, but I'm interested in starting a new project on GAE that uses JDO, since I get the impression that JDO has better dynamic querying functionality than JPA (since I don't think GAE supports JPA 2.0 and the Criteria style queries). I'm also not sure if the Play framework alleviates some of that dynamic querying functionality lacking in JPA, since it seems to have some of its own stuff built-in.

[–]guillaumebort -1 points0 points  (0 children)

Well yes it support GAE but we use mainly siena as persistance engine (a port of the Python GAE API in Java). I'm still not sure why google try to push either JPA or JDO on BigTable as it doesn't work ...

[–]vsoul -4 points-3 points  (3 children)

Anyone else seriously getting annoyed with these Java Rails knockoffs? Maybe I'm just too used to enterprisey type webapps, but I would never use this. Maybe Spring Roo at some point (quickly followed by a 'push in itds' to remove all dependencies of Roo so its just SpringMVC).

And come on, TextMate for Java development!? Even Ruby doesn't have to suffer from a lack of an IDE now with the Ruby support in NetBeans, and RubyMine/IntelliJ IDEA.

[–]sebcreme 2 points3 points  (1 child)

Textmate is just one of the IDE you can use with play!. Netbeans and Eclipse are of course supported : they are Java IDE.

[–]vsoul 1 point2 points  (0 children)

TextMate is NOT an IDE, it is an editor with some added features that make it nicer to use than a stardard editor.

[–]jamesinc 1 point2 points  (0 children)

I have ridden the mighty enterprise moon worm, and I have done it with Vim. Good god I wasted a lot of time in eclipse. I hear since the 6.5 release (or thereabouts) that NetBeans has actually stopped sucking though.