• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Ravi Kiran Va
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Please tell me .

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

 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
(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
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please read a tutorial before asking
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It sounds like he did, and wanted some clarification.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic