• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Struts vs JSF, etc

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I am seeking advice on what web technology we should use for one of our projects. We have a couple of months to development the front end.

I have tried Struts 1.0 and it worked fine. However, I am concerned it is a bit old and don't want to build a new project on an old technology. I know struts 2.0 is out there. Just wonder if you have any opinions on struts vs JSF. Or, any other good framework worth pursuing?

BTW, I am kind of new to web development though I am familiar with basic J2EE concepts and have programed in Java and C++. I am ok with JSP too. I am looking for a relatively robust technology that may have a long-life down the road.

Thanks in advance!

Jen
 
Sheriff
Posts: 9707
43
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Nn Zz" please check your private messages for some administrative matter...
 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My Vote for JSF.

Please go through the following links:
Craig McClanahan: Struts Or JSF? Struts And JSF? : Craig Mcclanahan, creator of Struts and co-spec lead for JavaServer Faces.
Why JSF?
Compare JSF and Struts
 
Ranch Hand
Posts: 121
Mac Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ankit,

Could you please share your thoughts with respect to Struts vs JSF --- which one is the best choice?
 
Ankit Garg
Sheriff
Posts: 9707
43
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

suresh dasari wrote:Ankit,
Could you please share your thoughts with respect to Struts vs JSF --- which one is the best choice?


My vote would be biased, because I've never used JSF, neither do I know much about it. So I would say struts...
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I wouldn't use JSF without using Seam. That's a steep learning curve for a few months. I'm not a huge JSF fan--if you're going for an action-style web framework I'd lean towards Struts 2 or Spring MVC.
 
suresh dasari
Ranch Hand
Posts: 121
Mac Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
But according to me, JSF having many advantages over struts.
by using JSF you will have more flexibility, you can design your own custom components based on the requirement.
Struts is just and MVC framework, where as JSF is even more.
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In my opinion, these discussion are tired and redundant. Searching this site will provide you with plenty of "this vs that" discussions that generally lead to a bunch of people say "I prefer technology XYZ" and "technology ABC sucks". If you truly want to know which is better suited to your project I'd recommend writing a couple of simple applications in both frameworks and see which is better for you.

And for what it's worth...I primarily use Grails. Stripes when I need something less. And Struts and JSF suck!!! ;)
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We'll have to agree to disagree. I use components (primarily Ajaxified) in my S2 and Spring MVC apps as well, and JSF is positively painful without Seam.
reply
    Bookmark Topic Watch Topic
  • New Topic