May 21, 2007

Struts Overview

Struts is an open source framework used for developing J2EE web applications using Model View Controller (MVC) design pattern.
Struts framework provides three key components:
  1. A request handler provided by the application developer that is used to mapped to a particular URI.
  2. A response handler which is used to transfer the control to another resource which will be responsible for completing the response.
  3. A tag library which helps developers to create the interactive form based applications with server pages.
The Controller : This is the heart of the container. Most Struts application will have only one controller that is ActionServlet which is responsible for directing several Actions.
Model : The model is basically a business logic part which takes the response from the user and stores the result for the duration of the process.
View : The view in struts framework is mainly a jsp page which is responsible for producing the output to the user.
Conclution:
Struts is a open source framework used for developing J2EE application using Model View Controller (MVC) design pattern.

No comments: