users@glassfish.java.net

Re: Problem deploying same SSB class in different apps on Glassfish v3

From: <glassfish_at_javadesktop.org>
Date: Mon, 01 Feb 2010 16:00:38 PST

You can have a look at EJB3.1 packaging specs, specially the ones related to packaging EJBs inside a war file/directory.
You can package all your EJBs (interfaces and beans) in a jar along with persistence.xml file, client code (managed classes/struts actions/...) in another jar. Both can now reside in /WEB-INF/lib/ of war.
Of course you need Glassfish v3 to deploy this way... not too many App servers currently support this.
[Message sent by forum member 'icordoba' (icordoba_at_skios.es)]

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