Hi Jacek,

> -----Original Message-----
> From: Jacek Laskowski [mailto:[EMAIL PROTECTED]
> Sent: 21 May 2004 17:41
> To: [EMAIL PROTECTED]
> Subject: Re: [openejb-user] Java API to configure openEJB?
> 
> Vincent Massol wrote:
> > Hi,
> >
> > I'd like to use openEJB in embedded mode. I'd also like to be able
to
> > configure it using a java API (instead of the openejb.xml file). Is
it
> > possible?
> 
> Hi,
> 
> Yes, it's possible. What parameters would you like to set up?

Cool. I'm interested in configuring the following:

- adding/deploying an ejb jar (equivalent of <Deployments
jar="myCMPBean.jar"/>)
- defining a container (equivalent of <Container id="Default CMP
Container" ctype="CMP_ENTITY"/>). Is it required to explicitely define a
default container or is there one automatically created for you?

Just to let you know, I'm trying to create an OpenEjbTestSetup for
Cactus (in the same spirit as the JettyTestSetup:
http://tinyurl.com/2gfao). 

I don't think I need more than the parameters list above as for more
complex configuration, I'll let the user specify his own open ejb
configuration file.

Can this be done using the default Assembler or do I have to create my
own Assembler?

> 
> Sorry for such a short message, but don't have an example to show you
> this running.

Thanks for your fast answer! I'm completely new to OpenEJB so I may be
asking stupid questions... ;-)

Thanks
-Vincent


Reply via email to