• 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

Difference between Struts and JSF

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am going to design a new web application with mainly following requirements.
1) Presentation layer should be simple .
2) There will not be much validations at the Presentation layer.

For this application design , I need to compare Strust and JSF framework on following criteria.
1)Modularization
2)Maintanibilty
3)LightWeight
4)Scalable
5)Ajax framework
Can anyone help me on this .
 
Marshal
Posts: 79177
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch

That sounds like a final-year project, and is also too difficult for this forum. I shall move the discussion and hope I move it to the right place
 
Ashwini Pathak
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Its not the final year project. Am a working professional, but I am really not getting the actual pointers to compare these two frameworks on the mentioned ponits. Some people must have experienced the pros and cons of this frameworks while working , I am new to both so cant compare
 
Ranch Hand
Posts: 859
IBM DB2 Chrome Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Struts(2) is more of an MVC pattern, and relies on actions,controllers,interceptors etc.
Using Ajax or such with JSP pages is perfectly doable also.

JSF is primarily a component driven architecture, where pages consist of independent "units" with one or more backing beans.
The lifecycle is quite interesting. It also has tremendous Ajax support for partial page refreshing.


You can actually combine the two, or better yet use JSF with Spring MVC !!

WP
 
Ranch Hand
Posts: 485
Eclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
@William Thanks for your inputs

JSF Features
where pages consist of independent "units" with one or more backing beans.
The lifecycle is quite interesting.

I was recently started working on JSF I found JSF very similar to Struts2.
Can you please explain the above points briefly.

 
William P O'Sullivan
Ranch Hand
Posts: 859
IBM DB2 Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are plenty of resources out there.

I will not do your research for you.

Any modern framework will satisfy your 4 needs, if you utilize it properly.

WP
 
Ashwini Pathak
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks everyone for your reply .
 
Ashwini Pathak
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Everyone,

In case of JSF , does it impact scalability of the application as JSF maintains the state of each UI component?
reply
    Bookmark Topic Watch Topic
  • New Topic