Hi
I've just started a new job and am refactoring and redesigning a JSP/servlet
J2EE application which is running on Sun One AppServer 7. It is a real mess so far and I need to implement an application framework. This needs to:
- rationalise the design
pattern - make more efficient the form/event handler chain (currently using horrible URL encoding and a big if/else statement in the
servlet).
- make app more structured so new modules,web services, servlets etc can be bolted on later.
I guess the big one is
Struts, but I also thought Faces looked quite good. Seemed a bit more lightweight than Struts and more like asp.net in its event handling model. I also obtained a demo of "JATO/Sun One Application Framework" which is a Sun One Studio 4.1 plugin. This has really neat GUI design tools, like visual studio.net.
I do not have significant enough experience with JSP/servlets to make an informed decision as of yet, so would like to hear some opinions from JavaRanchers.
What I will say is that the thing I most miss moving from ASP.net to
JSP is:
a) the total seperation of html/tags and code behind.
b) the way that the .net framework 'glues' the events from the html controls to your event handling methods for you.
If I had to pick something now I would just pick Struts, cos I know it is widely used so can't be that bad...!
thanks in advance,
john