File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Action class will be a falling under Presentation Tier or Business Tier Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Action class will be a falling under Presentation Tier or Business Tier " Watch "Action class will be a falling under Presentation Tier or Business Tier " New topic
Author

Action class will be a falling under Presentation Tier or Business Tier

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi

Please tell me .

Will The Action class will be a part of Presentation Tier or a Business Tier .


Save India From Corruption - Anna Hazare.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

(Why do you want to know?)

In any case, consider the ultimate responsibility of an action class: it shouldn't know anything about business logic and so on. It's job is to handle web requests, get data ready for a JSP (or similar), and decide what to display to the user.
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Thank you , I asked this question as i have seen a example , in which the action class is containing Business Logic .( I guess the author has written it for Introduction purpose)
nobeltr ozgur
Greenhorn

Joined: Sep 20, 2009
Posts: 14
please read a tutorial before asking
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

It sounds like he did, and wanted some clarification.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Action class will be a falling under Presentation Tier or Business Tier
 
Similar Threads
Is using ActionForm in Business Tier or Integration Tier good Practice?
Doubts about FrontController and CommandPattern in Model2 architecture
design for java application
JAAS with Struts2
Business Tier + Persistence Tier