aspose file tools*
The moose likes Struts and the fly likes struts comes under which layer of three tier architecture Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts comes under which layer of three tier architecture" Watch "struts comes under which layer of three tier architecture" New topic
Author

struts comes under which layer of three tier architecture

p hasini
Ranch Hand

Joined: Oct 24, 2009
Posts: 92
struts comes under which layer of three tier architecture in real time projects.

Is it the controller layer
Shailesh Narkhede
Ranch Hand

Joined: Jul 10, 2008
Posts: 365
Struts is framework to implement MVC architecture. In struts different component to do that....

ActionForm - Model
JSPs - View
ActionServlet & Action(it is debatable) - Controller


Thanks,
Shailesh
Jimmy Clark
Ranch Hand

Joined: Apr 16, 2008
Posts: 2187
Struts framework is used to buid Presentation-tier components (View and Controller only). There is nothing in Struts that is related to Model in a MVC implementation.

Struts will help you build a MVC-based application, but it is up to you to design and code the Model application and to integrate it with a Struts-based Controller and View components.

A Model application should be completely independent from any web framework technologies. The best test of this aspect is you should be able to execute any and all business logic in your Model application from a command-line. If can't execute all business logic from a command-line interface, then you most likely have not implemented MVC correctly.

Struts has nothing to do with Business-tier or Integration-tier components.

So, in terms of the Model-View-Controller design pattern and three-tier architecture. The (Struts-based) View and (Struts-based) Controller are on Presentation-tier and the Model component is on Business-tier.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: struts comes under which layer of three tier architecture
 
Similar Threads
Doubts about thin and fat clients
Is using ActionForm in Business Tier or Integration Tier good Practice?
3 tier architecture
3 tier architecture
what are the advantage of three tier architecture