View RSS Feed

Struts

Architecture of Struts 2

Rating: 1 votes, 1.00 average.
by , 07-07-2012 at 06:46 PM (2971 Views)
Struts2 is a MVC/MVC2 framework from a high level view. The following 5 components provide the Struts2 Model View Controller Pattern.

Interceptors
Actions
Value Stack
View
Results

In Struts2 the actions take the model role instead of controller so it is little different from the traditional Model view controller framework. But there is always a overlap between the two.

Name:  1.jpg
Views: 3260
Size:  56.1 KB
Architecture of Struts 2

In the above diagram the Struts 2 high level architecture is shown using model view and controller. The Struts2 dispatch filter and interceptors implement the controller, actions implement the model and result types and results implement the view.

The above is the Struts2 MVC pattern architectural pattern.

Submit "Architecture of Struts 2" to Facebook Submit "Architecture of Struts 2" to Digg Submit "Architecture of Struts 2" to del.icio.us Submit "Architecture of Struts 2" to StumbleUpon Submit "Architecture of Struts 2" to Google

Comments