File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Struts and WAF Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Struts and WAF" Watch "Struts and WAF" New topic
Author

Struts and WAF

steve dowdall
Ranch Hand

Joined: May 23, 2001
Posts: 36
Can someone tell me in laymans terms what Struts is and why i would want to use it? The same thing for WAF (Web Application Framework). There is a lot of abstract explanations out there. Just want the plain vanilla version please.
Thanks,
Steve
Po-yu Chien
Ranch Hand

Joined: Nov 01, 2001
Posts: 45
The so-called framework are provided either to provide utilities common in all web application(Tag library, form mechanism handling etc) or to enforce the RIGHT application design, or both of them. Struts fits into the last category.
Specifically, struts enforces LAYERED application design(DO NOT think it as equivalent of COMPONENT design. They coesist in struts, but are different thing)
JSP as only a layer for GUI rendering, Servlet for action handling(Handling all browser-side user clicks), and JavaBean used to handle data access and business logic.
Why should you use it? Good question. If you want to know where a particular user action is controlled and managed without browsing your own thousands lines of code...Use it.
If you want to build intelligent form with error reporting mechanism, use it.
My general opinion is that framework does not eliminate code you have to write. However, it keeps your mind and code clear.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts and WAF
 
Similar Threads
Simpler version of pet store
Web Application Frameworks
got results finally
PetStore WAF vs. Struts framework
Did someone use WAF in the part II and pass the exam