thanks. reading throught... ----- Original Message ----- From: "Mike Jasnowski" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Friday, June 20, 2003 3:57 PM Subject: RE: How much should Struts be aware of my persistence system
> Have you looked at the Business Delegate pattern I think it's called? that > might be what you're looking for. > > -----Original Message----- > From: Alen Ribic [mailto:[EMAIL PROTECTED] > Sent: Friday, June 20, 2003 9:53 AM > To: Struts Users Mailing List > Subject: How much should Struts be aware of my persistence system > > > Hi all > > Where do you think is the best place to initialise your persistence, ORM, > system in Struts? > Action classes, etc.? > I would like to make the Struts framework least aware of my Persistence > system. > > I'm using OJB with PB API and Struts 1.1. > > Apparently, best practice, when using OJB PB API is to create an instance of > Broker before executing business command and then close the Broker after > execution. > > > Any ideas as to what particular design I should implement here to get most > out of role separation? > > --Alen > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]