If you really want one classloader for all the apps -- I have no idea.
but if you just want all the apps to be able to access a shared copy of
classes -- then drop the jars with the shared classes into the lib
directory of the domain.
On 4/19/2011 6:16 AM, forums_at_java.net wrote:
> I have several web-modules. These modules use some common classes and
> should
> share their instances.
> But modules are being deployed independently thus packaging all them
> to EAR
> is not acceptable.
> I suppose the problem is that each web module uses separate class loader.
> How can I make AS use single class loader for all modules?
> Maybe there is some other solution..maybe other AS..
>
>
>
> --
>
> [Message sent by forum member 'boraldo']
>
> View Post: http://forums.java.net/node/793181
>
>
--
Oracle <http://www.oracle.com>
Byron Nevins | Principal MTS
Phone: +1 6503958992 <tel:+1%206503958992>
Green Oracle <http://www.oracle.com/commitment> Oracle is committed to
developing practices and products that help protect the environment