users@glassfish.java.net

Re: Deploying with just ejb-jar.xml

From: <glassfish_at_javadesktop.org>
Date: Tue, 03 Jun 2008 18:15:27 PDT

I doubt you can do that. While the jar may only contain a single ejb-jar.xml, the jar itself is the deployment artifact that the container is looking for.

However, you MIGHT be able to do a directory deploy.

So, if you had "xyz.ear" containing your ejb-jar.xml, you may be able to create a "xyz" dir int autodeploy, and place ejb-jar.xml within that directory. That mimics an exploded EAR deploy.
[Message sent by forum member 'whartung' (whartung)]

http://forums.java.net/jive/thread.jspa?messageID=278169