Question : struts VS JSF

I am writing a j2ee application ; and need suggestions (pros and cons ) which framework I use
JSF OR struts

pls help

Mas

Answer : struts VS JSF

Struts is a very popular web framework, supported by Apache. Most IDEs and APp servers support it. Its main use is to be a front controller - meaning very easy way to configure which page directs to which page, pass parameters from the user as objects and so on.
On the bad side - it is not (and will never be) part of the J2EE specification, and it does not offer a standard way to use UI components.

JSF is a promising framework that will probably be a part of J2EE 5.0. Many vendors offered its support to it, and it has everything struts offers and a component model, even model and everything you come to expect from a modern web framework.

However - it is still very young, and not many IDEs support it.

So if you need something for now, and struts is good enough for you - use struts. If you plan something for the future - JSF is your answer.
Random Solutions  
 
programming4us programming4us