geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Mulder" <>
Subject GBeans/JARs in an EAR
Date Tue, 11 Jul 2006 20:21:03 GMT
Let's say you want to deploy certain GBeans when an EAR is deployed.
The problem seems to be getting them onto the classpath for the EAR.
The options seem to be somewhat forced:

 - put them in a JAR in a RAR in the EAR
 - put them in an EJB JAR in the EAR
 - put them in a JAR in the EAR and add a reference to that JAR to the
manifest Class-Path of an EJB JAR in the EAR
 - put them in a JAR in the repository and add a dependency to
 - put them in a service module JAR or in a different application
module using one of these options and add that module as a dependency
in geronimo-application.xml

Is that right?  It seems like it might be valuable to be able to
include a JAR of GBeans in the EAR and somehow reference it from the
geronimo-application.xml so it could be added to the EAR classpath
without being in a J2EE module in the EAR, and still benefit from the
hot deployment features and stuff that don't work as well for JARs in
the repository.  That would also provide an option other than the
manifest Class-Path for having multiple J2EE modules in an EAR refer
to the same JAR in the EAR.

What do you think?


View raw message