As services, one to retreive objects from dabase (views), another for store views in database. I got an instance each one at start-up and put them in application scope in order to action classes can get the tow services.
-----Mensaje original----- De: Kevin Viet [mailto:[EMAIL PROTECTED]] Enviado el: lunes, 14 de octubre de 2002 17:12 Para: OJB Users List Asunto: RE: OJB-Struts Question Le lun 14/10/2002 � 17:12, Jose Galiana a �crit : > Hi Kevin, > > We are using Struts with OJB. We have two services (DAO patterns) with ODMG > Api. They woks fine... > the DAO pattern u use is implemented as a service from the action code or internally called into ur businness objects when u do bo.save() > Greetings > Jose Galiana > > -----Mensaje original----- > De: Kevin Viet [mailto:[EMAIL PROTECTED]] > Enviado el: lunes, 14 de octubre de 2002 16:49 > Para: OJB Users List > Asunto: OJB-Struts Question > > > > I know that this mail is not related with OJB but, I am experiencing OJB > with struts. > > What patterns do you use to persist objects : > > - Call to an ojb API (ODGM or Persistent Broker) into struts action > code? > - Build a persistence layer on top of an ojb API and call it into struts > action code? > - build DAO objects with an ojb API ? > - build DAO object with a persistence layer on top of an ojb API ? > > Thx in advandce for your help, I am little confused and doensn't know > what method is best. > > -- > Kevin Viet <[EMAIL PROTECTED]> > ActiVia Networks > > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- Kevin Viet <[EMAIL PROTECTED]> ActiVia Networks -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
