On Jan 5, 2007, at 9:28 AM, Dain Sundstrom wrote:
On Jan 4, 2007, at 8:02 PM, David Blevins wrote:
On Jan 4, 2007, at 11:05 AM, Dain Sundstrom wrote:
I'm starting on the Geronimo integration with OpenEJB 3 today,
and I think this Push model is exactly what I'm going to need.
If you stub out this interface soon, I'll be able to provide
feedback as I stub out the Geronimo integration.
I checked in an initial version of the required classes. Let me
know if this is close to what you need.
I think I'm going to need versions of these methods that take a
class loader. What you have stubbed out will work well for a
standalone-embedded system, where OpenEJB is in charge of creating
the entire application. When OpenEJB is embedded into a JEE server
like Geronimo, the JEE container will be in charge of ear
deployment, and will be delegating the ejb modules to OpenEJB.
This means that the JEE server is responsible for creating the ear
class loader which contains the jars for all ejb, rar, and
persistence modules. Then when the ejb module is deployed into
Geronimo the class loader already exists. I'm thinking of
something like this:
void addEjbJar(EjbJarInfo info, ClassLoader classLoader) throws
OpenEJBException;
Ok, that's there for the methods that take a DeploymentModule, will
add something similar for the Info object ones.
-David
-dain