[jboss-user] [Installation, Configuration & DEPLOYMENT] - share an EJB3 layer between 2 ear files(advanced question)

deanhiller do-not-reply at jboss.com
Tue Oct 28 11:38:48 EDT 2008

I already have two posts on seam on this but I thought it might be a JBoss question now that I think about it more.  Here is the previous two posts..



Basically, I can't seem to deploy an entities.jar in the deployment directory and have two ear files use it.  I have been reading up on classloader config with loader-repository and such but it seams that each ear file loads the EJB into it's own classloader.  I really want them to both just have entities.jar in a parent classloader so then the apps are separate, but they share entities.jar.  After all, I can do this EASILY in OSGi, and isn't JBoss now based on OSGi so I would think in the future I could do it, but the question is, is it doable today?

I want the two apps sharing entites.jar AND the cache that goes with it so the apps can be more performant together as the users switch between apps.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4185138#4185138

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4185138

More information about the jboss-user mailing list