[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Sharing a class between 2 ears (classloader)

PeterJ do-not-reply at jboss.com
Mon Jun 2 18:26:22 EDT 2008


You should not have to do anything. The classes in both ears are loaded using the same class loader repository, so each ear should have access to the classes in the other ear.  Only if you don't want this to happen do  you have to do extra work.

Note that for classes in a war it is exactly the opposite - you cannot use classes in a war file from external to that war.

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

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



More information about the jboss-user mailing list