Michael Mogley wrote:
Hi Armin,
So in this case, how would I access the broker? I assume through JNDI somehow? Would I have to setup the PersistenceBrokerFactory as a resource adaptor? How would I do that?
Think it is possible to include a .sar file in an .ear file. Let the OJB jar and all used libraries in the .sar file (+ jboss-service file). I'm not sure what to do with the ejb-beans.jar - stay in .sar file?.
Sorry I can't help more. Please let me know about your experience (to include this in deployment doc).
regards, Armin
Michael
----- Original Message ----- From: "Armin Waibel" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, February 25, 2004 5:21 AM
Subject: Re: how to keep repository-user.xml mappings separate from ojb.sar?
Hi Michael,
Michael Mogley wrote:
Hi all,
I'm trying to deploy an application on JBoss 3.2.3 using latest OJB.
I've followed the steps to create an ojb.sar in the deployment dir.
I would like to keep the xml mapping definitions and DAOs local to the
specific .ear
I'm deploying. Is this possible? Or must I keep all the mappings for all applications in one repository-user.xml in the ojb.sar?
Don't use .sar file in this case (AFAIK it's JBoss specific and shared among the deployed application), try to include all OJB jar (with used libraries) + beans in each application .ear file? (Don't ask for details ;-))
regards, Armin
Thanks for any help/advice.
Michael
--------------------------------------------------------------------- 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]
