wood burning stoves 2.0*
The moose likes Struts and the fly likes Struts and JSF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts and JSF" Watch "Struts and JSF" New topic
Author

Struts and JSF

Albert Nunes
Greenhorn

Joined: Mar 22, 2004
Posts: 11
Are Struts and JSF independend technologies ? If no, what is the relation between them ? Do I have to study struts before studing JSF ?
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30789
    
157

Albert,
If you are just starting out, I would recommend learning JSF by itself. (or struts by itself.) While the two can be used together, that's best for Struts shops that have a lot invested in their way of doing things and want to switch over slowly.

Both are web frameworks, but the flow is somewhat different.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Alexandru Popescu
Ranch Hand

Joined: Jul 12, 2004
Posts: 995
Indeed they are independent. While Struts is one of the oldest and most used frameworks born directly from the developers, JSF is supported with a JCP created spec. The problem I see with JSF is that there are not too many implementations of the framework (I may be wrong but I think in fact there are only two)

./pope


blog - InfoQ.com
Matt Raible
author
Ranch Hand

Joined: Jan 11, 2001
Posts: 114
Here's a post from Craig McClanahan that might help clear things up:

http://blogs.sun.com/roller/page/craigmcc/20040927#struts_or_jsf_struts_and


Matt<br /> <br />Author: <a href="http://springlive.com" target="_blank" rel="nofollow">Spring Live</a> and <a href="http://www.apress.com/book/bookDisplay.html?bID=256" target="_blank" rel="nofollow">Pro JSP</a><br />Weblogs: <a href="http://raibledesigns.com" target="_blank" rel="nofollow">Raible Designs</a> <a href="http://jroller.com/page/raible" target="_blank" rel="nofollow">Spring Live Blog</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts and JSF