I would recommend creating a services layer for your business logic. With this pattern, your Actions would simply call your services. Your services will contain your business logic. You could still have factories to create the bean's but rather than keeping that logic in the factory, I would move it to the service.
just my 2 cents. -alexander You wrote: > Hi, > I am using OJB in a struts Web application. I am trying to separate the > business Logic from the controler. > My question is : is it a good design to make a Factory for each bean and in > the actions call only methods on the factories ? > Regards, > Yassine > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- -alexander
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
