Title: Message
Right, the ejb-jar.xml is already yours to maintain, but if you take responsibility for the openejb-jar.xml as well, then you never need the deploy tool again. 
 
If your bean jar is in one of the directories OpenEJB is configured to look in, and the jar contains both an ejb-jar.xml and openejb-jar.xml, then the jar will be automatically loaded and deployed when the server starts.  It's important to note that OpenEJB only "looks" when the server starts.  So, if you add more jars or edit a jar, you'll need to restart the server for the changes to take effect.
 
-David
-----Original Message-----
From: Louis Malenica [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 1:01 AM
To: 'David Blevins'
Subject: RE: [OpenEJB-user] Ant task

So you're saying:
 
Once the "ejb-jar.xml" and "openejb-jar.xml" files are deployed and packed into "%OPENEJB_HOME%\beans\helloBean.jar" -
That any CHANGES you make to these *-jar.xml files that now reside in the working **\helloBean.jar" (via CVS as you mention) will be recognised by the openejb server without needing to re-deploy? (ie hot-deployment).
 
Now, to extend from this, can you create the "openejb-jar.xml" config file BEFORE initially deploying the bean?
 
I hope my blurb makes sense.
 
Louis
-----Original Message-----
From: David Blevins [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 26, 2002 3:41 PM
To: 'Louis Malenica'
Cc: 'openejb-user'
Subject: RE: [OpenEJB-user] Ant task

Hi Louis,
 
Daniel Haischt created one and submitted it to the Ant developers, he can give you more details on that.
 
As I mentioned in my previous email, the deploy tool is only creating a META-INF/openejb-jar.xml and stuffing it into your jar.  The openejb-jar.xml is very simple, if you can understand an ejb-jar.xml file you'll have no trouble with it. The openejb-jar.xml just sits in your jar next to your ejb-jar.xml and serves as a simple mapping from your ejb-jar.xml to your openejb.conf.  What I do is use the deploy tool once to create the openejb-jar.xml (why type all that), then I just check it into cvs and keep using it.
 
-David
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Louis Malenica
Sent: Wednesday, September 25, 2002 11:50 PM
To: [EMAIL PROTECTED]
Subject: [OpenEJB-user] Ant task

Hi guys,

Does anyone know of an Ant task for openejb deployment? If not, any suggestions would be appreciated as I might try to develop one myself, if there is one I don't want to reinvent the wheel.

Cheers in advance,

Louis.

// ---------------------------------------------------------------------
//
Redshift Systems – Web & Application - Development – Design – Programming
// E-commerce - Application Integration – Intranets – Databases
// Louis Malenica – BappSci(IT) – Principal - Analyst Programmer
//
[EMAIL PROTECTED]
// http://members.optusnet.com.au/redshift-systems
// ---------------------------------------------------------------------

Reply via email to