Billy Ng wrote: > I have been reading some articles briefly talking about the business > logic beans. The way I build my Struts app is to use the Action's > perform or execute method to do the business logic. Then, I set the > data into a bean and pass it off to the JSP. It works just fine. > However, my question is if I should do the business logic in Action? > Am I supposed to hand down the job to a business logic bean? It will > be helpful if anyone can provide me samples or links for how a > business logic looks alike.
A good rule is to never have anything in javax.servlet imported into a class that does business logic. Actions call Business Objects which pass back Value Objects. Value Objects are created with Manager Objects. My two cents, A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

