Questions:Ask|Latest

 
 

Share on Google+Share on Google+

Struts2

Advertisement
Apache Struts is an open-source framework used to develop Java web application.

Struts2

       

 

  1. Apache Struts: A brief Introduction
    Apache Struts is an open-source framework used to develop Java web application. Originally developed by the rogrammer and author Craig R. McClanahan was later taken over by the Apache Software Foundation in 2002. Strutshave provided an excellent framework for developing application easily by organizing JSP and Servlet and basic java code. Strut1 with all standard Java technologies and packages of Jakarta assists in creating an extensible development environment. However, with the growing demand of web applications, Strut 1 does not stand firm and needs to be changed with the increasing demand. This led to the creation of Strut2, which are more users friendly with the features like Ajax, rapid development and extensibility.
     
  2. Why Struts 2
    The new version Struts 2.0 is a combination of the Sturts action framework and Webwork. According to the Struts 2.0.1 release announcement, some key features are:

    • Simplified Design - Programming the abstract classes instead of interfaces is one of design problem of struts1 framework that has been resolved in the struts 2 framework. Most of the Struts 2 classes are based on interfaces and most of its core interfaces are HTTP independent. Struts 2 Action classes are framework independent and are simplified to look as simple POJOs. Framework components are tried to keep loosely coupled.
    • Simplified Actions - Actions are simple POJOs. Any java class with execute() method can be used as an Action class. Even we don?t need to implement interfaces always. Inversion of Control is introduced while developing the action lasses. This makes the actions to be neutral to the underlying framework.

Read more information at:

http://www.javajazzup.com/issue5/page29.shtml

 

Advertisements

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: October 11, 2010

Related Tutorials

Ask Questions?    Discuss: Struts2  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments
DMCA.com