REGISTER FREE to Receive Instant Job

Sunday, 9 November 2014

Basic concept of Struts 2

 Basic concept of Struts 2:-
Struts 2.0 is a framework that is based on MVC Architecture and facilitate productive development of Dynamic Web Applications.
This framework has following characteristics-
  • It is non intrusive.
  • It favors conventions over configurations.
  • It supports Dependency Injection and Aspect Oriented Programming.
  • It is based on Webwork framework of Open Symphony. etc. 
Model View Controller (MVC) – Model View Controller is a design pattern that divides the functionality of an application into three loosely connected modules called Model, View & Controller.
Model represents data, View represents presentation logic and Controller is used to determine the workflow of Application.
In a Struts Application, Actions represents models.
  • Actions – An Action represents request data and its processing logic as a single unit.
  • Results – JSP pages are used to generate presentation for the end-user. JSP pages are managed by Results. A Result is a framework component that is responsible for using JSP pages for generating views.
  • Controller – In a Struts Application Controller is implemented as a filter which intercepts all the request of Web Application and controls its work flow. Controller provides a single entry point to the Web Application.
1.0
Request
1.1
Configuration Information is read to find out Action & Result for the request.
1.2
Action is initiated and populated with Request data.
1.3
Action is asked to process request.
1.4
Request is processed and a String is returned.
1.5
Result is invoked and URL of JSP pages for the returned String is provided.
1.6
JSP is invoked.
1.7
View for end user is generated.


2 comments:

  1. http://www.packersnmovers.info/packers-and-movers-jaipur
    http://www.packersnmovers.info/packers-and-movers-gurgaon
    http://www.packersnmovers.info/packers-and-movers-indore
    http://www.packersnmovers.info/packers-and-movers-nashik
    http://www.packersnmovers.info/packers-and-movers-chandigarh
    http://www.packersnmovers.info/packers-and-movers-vadodara
    http://www.packersnmovers.info/packers-and-movers-nagpur

    ReplyDelete

Popular Posts

Powered by Blogger.

About Me

My photo

JobsAcid is a 'job search engine' to provide finding a job on the internet easier for the user. It has designed as huge selection of job offerings on the same search engine.