File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts vs JSF, etc

 
Jennifer Zhu
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Ankit Garg
Sheriff
Posts: 9497
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Nn Zz" please check your private messages for some administrative matter...
 
Bhagat Singh Rawat
Ranch Hand
Posts: 93
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
suresh dasari
Ranch Hand
Posts: 121
Chrome Eclipse IDE Mac
  • 0
  • Mark post as helpful
  • send pies
  • 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: 9497
22
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • 0
  • Mark post as helpful
  • send pies
  • 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...
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • 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
Chrome Eclipse IDE Mac
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • 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
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic