wood burning stoves 2.0*
The moose likes JSF and the fly likes relation between JSF and struts, tapestry ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "relation between JSF and struts, tapestry ?" Watch "relation between JSF and struts, tapestry ?" New topic
Author

relation between JSF and struts, tapestry ?

ben oliver
Ranch Hand

Joined: Mar 28, 2006
Posts: 375
I know there are some web application frame work like struts and tapestry. struts uses JSP and tapestry doesn't. Now, what's the relation b/w JSF and these frame works ? Is it true that if we use JSF then we don't use struts or tapestry at all ? Is it true people are more inclined to using JSF these days instead of struts or tapestry ? what's advantage of JSF over struts and tapestry ? Under what condition shall we use struts/tapestry over JSF, and under what condition shall we use the JSF instead of the other two ?

thanks.
Masoud Kalali
Author
Ranch Hand

Joined: Jul 08, 2004
Posts: 531

these are some major questions.
Now, what's the relation b/w JSF and these frame works ?
JSF is another framework available for java community , but its is standard and component driven. you can find several implementation of jsf around the web. and many ready to use component with some neat IDEs like
sun java Studio Creator
Exadel Studio
Jdeveloper
....
that support jsf development.

Is it true that if we use JSF then we don't use struts or tapestry at all ?

yes it is true. if you use jsf you are not using Struts or Tapestry


Is it true people are more inclined to using JSF these days instead of struts or tapestry


it is more related to your knowledge / project requirement /...
i can not say that jsf is in more use than struts or anything like that.
but *i think* new commers use JSF because of its component driven nature.

what's advantage of JSF over struts and tapestry


for this question i think you should read a series of blog that siemon Brown has written at :
http://weblogs.java.net/blog/simongbrown/


Under what condition shall we use struts/tapestry over JSF, and under what condition shall we use the JSF instead of the other two ?


for this question i prefer to refere you to another web page which contain your answer.
http://www.virtuas.com/articles/webframework-sweetspots.html


Masoud Kalali
Software Engineer - My Weblog - GlassFish Security
Eddy Lee Sin Ti
Ranch Hand

Joined: Oct 06, 2005
Posts: 135
It is definitely possible and sometimes recommended to use both Struts and JSF together. Struts even come out with a higher level framework that accommodate the existence of JSF within its' context: Struts Shale.


SCJP, SCWCD, SCJWS, IBM 700,IBM 701, IBM 704, IBM 705, CA Clarity Technical<br /> <br /><a href="http://eddyleesinti.blogspot.com" target="_blank" rel="nofollow">http://eddyleesinti.blogspot.com</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: relation between JSF and struts, tapestry ?