Win a copy of React Cookbook: Recipes for Mastering the React Framework this week in the HTML Pages with CSS and JavaScript forum!
  • 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 ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Frits Walraven
  • Himai Minh

Struts vs Java Server Faces

Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why would i use Struts over Java Server Faces (or vise versa) ? A JSR has been created to have JSF as a new technology added to the Java specification.
Is there anyone that can comment on this ? Since JSF seems to address the same concerns as Struts why use struts?
Ranch Hand
Posts: 1871
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As the Java Server Faces specification states

It is understood that many of the problem spaces targeted by this JSR are already being addressed in other projects. One prime example of such a project is the Jakarta open source project, Struts. However, this JSR is aimed at creating a standard for Java server application GUIs, which will serve to unify what's become a fragmented area and strengthen support in tools and other third party products

I think that the Struts application is a greate model to work on. It has also been developed as an Open Source.
Sun Microsystems tends to develop things that already have become popular.
Similar is the scenario for the logging api. Where as the Log4j from apache is a good logging api by itself, Sun has introduced its own logging api in jdk1.4.
Lets see what Java Server Faces has to offer and then decide what to choose visa vis Struts.
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic