Hi,

thanks!!
I will try this in a few minutes. I got some questions:

I found another sample, which adds OJB as MBEAN at the jboss-service.xml
Your sample seems not to use this. How can I access the OJB stuff inside my
EJB's ? JNDI lookup wont't work or am I wrong?

The documentation uses a jakarta-ojb.sar. Isn't this a jar file? I couldn't
find anything with sar
extension at the OJB tree after build.

>a) added all the latest lib\*.jar files excluding hsqldb.jar since jboss
> has this already

where? at the server/default/lib or server/default/deploy/ojb/?
This prevents jboss from starting. I got different versions of the same
lib's.
One example is the log4j.jar at jboss and log4j-1.2.5.jar at OJB.

I'm not clear which part of OJB should be deployed where just to get it
running (without all JUnit test cases)

I don't use entity beans and so my jboss is not configured to use our
database.
Do I have to change this? I currently only want to access a few tables.
Currently I think the xdoclet part is to get the ojb junit test cases up and
running.
Am I right that they build ejb's from the existing data classes?
Do I need them for normal OJB access?

I currently use OJB in some normal java classes and I would like to do
exactly the
same inside of EJB classes. Currently I do not want to use CMP with OJB.
I would like to use OJB inside of BMP Entity and Session beans.

What of the skript is for the complex junit test cases and what is realy
neccessary for OJB access? (I'm running in a time problem).

Thanks!! cheers,

Guido

----- Original Message -----
From: "Phil Warrick" <[EMAIL PROTECTED]>
To: "OJB Users List" <[EMAIL PROTECTED]>
Sent: Wednesday, February 05, 2003 4:29 AM
Subject: Re: OJB with JBoss


> Hi Guido,
>
> > I am triying to deploy OJB as a data service with JBoss. I would like to
> > access the ODMG (or JDO if stable) Interface.
> > I found some samples at the mailing list but they look different to me.
> > I tried to add OJB as MBean at jboss-service.xml and put
> > the OJB jar file to my server/default/lib directory but my test bean
still
> > tells
> > me that my JNDI name is not registered.
> > Could somebody post a small sample what to put where?
> > One of my open questions is, where to put the other jar files, needed by
> > OJB. If I put them to the lib directory too, jboss seems to be unable to
> > start.
>
> The instructions here, although a bit dated, more or less work for 0.9.8:
>
>
http://archives.apache.org/eyebrowse/ReadMsg?[EMAIL PROTECTED]
e.org&msgId=525409
>
> Once 0.9.9 is released, I will see about how to make this packaging more
> automated and hopefully submit something for general perusal and
> possible inclusion in cvs.
>
> Phil
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to