views:

494

answers:

7

Hello there,

I was thinking which framework would be a good choice to go into. I'm focusing on java apps and tested spring, grails and seam so far. I've also looked aboard java and gave ruby on rails a try too.

In future I will be focusing on portlet development which I've gone through already without a complete framework (just hibernate).

Maybe someone could share some experiences? Or point me to a corner which I don't looked in so far?

Regards and thanks for reading ;)

+1  A: 

I'd say you go with a framework that targets the programming language you're most proficient in. If you already are good in Java, and you're a quick learner ( to learn Groovy ), Grails could be a good choice. If you'd like to go with another scripting language, say Ruby/Python, then choose Rails or Django, or Pylons ( the list could go on here ).

If you're going for a Java only framework, I'd go with Spring MVC.

Geo
+1  A: 

You should have a look at the play framework (SO question).

Finally a Java framework made by Web developers. Discover a clean alternative to bloated enterprise Java stacks. Play focuses on developer productivity and targets RESTful architectures.

tangens
Hehe! Great minds and all that.
Carl Smotricz
+3  A: 

If you're doing this out of curiosity and to learn something new, rather than to meet specific requirements for a specific project, maybe you'll enjoy the Play! Framework. It contains a lot of stuff from other frameworks and is designed to get you up and going very quickly, with short development cycles and not a lot of arcanae.

Their stated purpose is to be "by Web developers for Web developers". They intend to put the fun back into Web programming.

This sounds good and I've read a few nice things about it in fora and blogs, but I haven't tried it myself yet so that's all the recommendation I can give.

Carl Smotricz
I cant see how play is any better than Wicket. Play requires Java AND also Python. Wicket doesn't.
djangofan
+1  A: 

I was thinking which framework would be a good choice to go into. I'm focusing on java apps and tested spring, grails and seam so far. I've also looked aboard java and gave ruby on rails a try too.

FYI - Grails is using Spring and Hibernate underneath; SEAM uses JSF and Hibernate.

Grails is the Java equivalent of RoR. It's based on the same idea: "convention over configuration".

It's also important to be clear that Spring is far more than a mere web MVC framework. It's based on DI and AOP and encompasses persistence, remoting, enterprise services, etc. It supports portlet MVC, which is a plus given your requirements.

Personally, I would recommend straight Spring over any of your choices so far if you stick with Java. It's important to know something about what's going on under the covers. If you know Spring well, Grails will be easy.

duffymo
thanks for your answer duffymo - I know that Grails uses Hibernate and Spring, for SEAM I know this too.And this state I'm thinking about using Grails for smaller projects and Spring for the bigger ones. Especially Spring 3 which will have Portlet 2 (JSR-268) support.
asrijaal
Maybe for understanding: I discoverd Grails after a little bit of RoR evaluating. And what to say: Groovy is a very smart languagse, which I would love to use in productial enviorments.
asrijaal
+1  A: 

Grails has a plugin for developing portlets, described here.

Ken Liu
+2  A: 

If you consider Groovy or Grail, you might consider ZK, too. It is an Ajax framework integrated well with Groovy and Grail.

Mo
A: 

I'd use Wicket rather than Play! because Play! requires Python as a semi-dependency. With Wicket, you only need Apache and Java and thats it.

djangofan
Wicket and Play are completely different. Wicket is a stateful component architecture. Play is a stateless request-response architecture.
Alex Neth