This week's book giveaways are in the AI and JavaScript forums.
We're giving away four copies each of GANs in Action and WebAssembly in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of GANs in ActionE this week in the AI forum
or WebAssembly in Action in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Opinions wanted: struts or faces or jato ??

 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Hold that thought. Tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!