views:

215

answers:

8

hi friends, I am new to Java Web Application. I am practicing with JSF2. Is it better to use any framework with JSF or just should I move with JSF?

If it is better to use Framework, what you experienced guys suggest me?

+1  A: 

You can use a lot frameworks to simplify framework usage and boost efficience.

I would prefer Spring Webflow. It handles conversational state, is simple to use and you can take profit of the other features spring offers (IoC/Dependency Injection, Integration features, Spring Batch ...)

When you have the freedom to use different languages/apis you should have a look at Grails.

Martin K.
Is Grails is part of Spring or is it completely different one?
Muneer
Different one.-
pakore
I simply went through the page of Grails. Features are looking smarter.
Muneer
+3  A: 

There is no best solution or framework. You'd better define, even for yourself, what exactly you want the application to do and then seek the most appropriate technology. Not to be too abstract, I'd suggest you check out Struts, Spring and GWT(Google Web Toolkit).

Each of them has its pros and cons, so it's not a matter of becoming guru in just one of them, but better knowing them all well in order to make a good decision, when one is needed.

vlood
+1  A: 

It all depends on your needs. Personally I prefer Spring+Struts2+Hibernate or grails.

Maciej Dragan
Hibernate? It is a persistence framework right?
Muneer
Hibernate is an ORM
pakore
Yes its an ORM, but if you think of adding a persistence layer to your app you need to use something therefore I consider sptring+struts2+hibernate as web app "frameworks combo" ;)
Maciej Dragan
What is actually struts? Hibernate is ORM, Spring is webframework. Sturts2?? Something between?
Muneer
+2  A: 

I think Wicket is quite nice. But then again, I don't particularly like JSPs.

Just have a look at their motivation page to see what sets them apart.

extraneon
+3  A: 

Try Play! Framework. It seems to be a nice RAD framework especially for simple apps.

Coder
+1 for Play. Combine it with lots of jQuery goodness and it's hard to beat.
Damo
+1 for Play, it's unique in java world (like django of java). I think it'll rule the java world in the following years.
sirmak
http://www.slideshare.net/youen/play-framework-normandy-jug-2010
sirmak
Excellent I will check it too..
Muneer
A: 

Try http://www.icefaces.org/main/home/ which is powerful than JSF

Your wording is confusing. IceFaces **is** a JSF component library.
BalusC
+1  A: 

I highly recommend the Seam Framework from JBoss. It helps simplify JSF quite a bit, and also makes it very easy to integrate things like Hibernate or EJB3. Plus, it's quite pretty wide support across the major IDEs.

Shadowman
Opening link... Wow,, I can see some best features in Seam Framework ... ""Asynchronous JavaScript and XML (AJAX), JavaServer Faces (JSF), Java Persistence (JPA), Enterprise Java Beans (EJB 3.0) and Business Process Management (BPM) "" I will do a comparison anyway.
Muneer
A: 

I recommend velocity and servlets instead of any frameworks

sen