1 Apr 2003 01:00
Re: OJB inside JBoss
Neeme Praks <neeme <at> apache.org>
2003-03-31 23:00:04 GMT
2003-03-31 23:00:04 GMT
Phil Warrick ::
> There are EJB sample beans for OJB. Check out the jBoss deployment
> section of the OJB docs and see how far that helps you.
Thanks, found them... was quite helpful, but some questions are still
unclear for me...
> Neeme Praks wrote:
>
>> There is support for JBoss and other application servers in OJB, but
>> the documentation is lacking, so here are some questions:
>> * what version of Jboss OJB has been tested with? 2.4.x vs. 3.x?
>> * any specific problems that I should be aware of when trying to run
>> OJB under JBoss?
>> * location and loading of repository.xml... How is this achieved
>> under JBoss? AFAIU, repository.xml is located outside of EJB EAR
>> system, in some well-defined location? Is there any support for
>> loading repository.xml file from the deployed EAR achive? I saw
>> something is CVS that dealt with loading mapping info from per-class
>> XML snippets... not sure that this would be the best route to take,
>> however, some way for registering "external" repository.xml with OJB
>> service would be useful? Something like this (pseudo-code):
>>
>> Context context = new InitialContext();
>> OJBService ojb = context.lookup("OJBService");
>> InputStream is =
>> getContextClassloader().getResourceasStream("META-INF/repository.xml");
>> ojb.loadRepository(is);
(Continue reading)
>
> Rgds,
> Neeme
>
>
RSS Feed