wood burning stoves 2.0*
The moose likes Struts and the fly likes Tough Decision - Struts or Java Server Faces Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Tough Decision - Struts or Java Server Faces" Watch "Tough Decision - Struts or Java Server Faces" New topic
Author

Tough Decision - Struts or Java Server Faces

Surendra Kashyap
Greenhorn

Joined: Jan 22, 2002
Posts: 6
Hi Rancher,

So far, during web development, I have been using Servlets/JSP directory. However, as the complexity increases, using framework is very much required. I know Struts and Titles have been very popular. I have tried creating few web sites and it is very powerful. However, Java Server Faces (JSF) is picking up speed as IDEs are trying to provide RAD tools.

I am having tough time deciding between JSF and Struts. Struts creator has also endorsed JFC. MyFaces implementation of JSF is providing 'Tiles' integration as well. From long-terms perspective, my gut instincts says, I should go with JSF framework for new development?

I could take Hybrid approach but then it will too much become confusing.

Do you all have any opinion or recommendation on these framework?

Regards,

Surendra


-Surendra Kashyap<br />SCJP, SCJD, SCWCD, SCBCD and MCSE
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17260
    
    6

Moving this thread to the more appropriate Struts forum.

Yes, I know it is between JSF and Struts, but you will get good opinions there.

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
Marc Peabody
pie sneak
Sheriff

Joined: Feb 05, 2003
Posts: 4727

I would not go with a hybrid approach. Craig McClanahan discourages starting a project with both (see his latest tech talk at theserverside.com). The hybrid is good for transitioning from one framework to the other but having to know/learn both frameworks and their quirks are not worth it. You might know them both but think of the poor guys who have to maintain your code for years to come.

I really like both Struts and JSF but if I were ever given the full authority to pick one or the other I would choose JSF. The arguments for using JSF over Struts should only increase with time, especially with it becoming a part of JavaEE 5.


A good workman is known by his tools.
Marco Vanoli
Ranch Hand

Joined: Jan 12, 2005
Posts: 99
I know Struts,
it is difficult to know also JSF??

Can you estimate a a time to learn JSF?


bye, <br />Marco
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tough Decision - Struts or Java Server Faces