Sunday 22 May 2011

What is Struts ?

Framework : A framework is made up of the set of classes 
                     which allow us to use a library in a best possible way for a specific requirement. 

Struts : Struts is free open source implementation of MVC
            (Model-View-Controller) pattern & the most popular framework for developing Java based web applications. Struts is part of the Jakarta Project, sponsored by the Apache Software Foundation.
Struts is robust architecture and can be used for the development of application of any size. Struts framework makes it much easier to design scalable, reliable Web applications with Java. The framework includes a set of custom tag libaries and their associated Java classes, along with various utility classes.

History : Apache Struts framework as released in May 2000 
              by Craig R. McClanahan. 
In July 2001, version 1.0 of Struts framework was released.

versions :    Struts 1.0.2  Details
                    Struts 1.1     Details
                    Struts 1.2.4  Details
                    Struts 2.0.6  Details
                    Struts 2.1.6  Details
                    Struts 2.2.1  Details
Struts 2.2.3 is the "best available" version of Struts in the 2.2 series.Download

MVC MVC (Model-View-Controller) is a way to build
           applications that promotes complete separation between business logic and presentation. 
Struts encourages application architectures based on the Model 2 approach, a variation of the classic Model-View-Controller (MVC) design paradigm. 

Model : The model contains the core of the application's
             functionality. The model encapsulates the state of  
             the application.It knows nothing about the view or 
             controller.Components like business logic /business
             processes and data are the part of model.
View : The view provides the presentation of the model. 
           It is the look of the application.
           HTML, JSP are the view components.
Controller :The controller reacts to the user input. 
                   It creates and sets the model.
ActionServlet and RequestProcessor class in struts are the Part of Controller.








 


1 comment:

  1. This is the overview of Struts framework for the beginners & knowladge seekers.I have tried to create this Topic useful and best as I can do?

    ReplyDelete