[jboss-user] [JNDI/Naming/Network] - Re: ClassCastException upon jndi lookup after upgrade from 3
jaikiran
do-not-reply at jboss.com
Tue Mar 6 17:29:02 EST 2007
If the class is meant to be used by both the war and the ejb-jar, the way i package it is - i create a separate jar (common-util.jar maybe) and make it available to both the war and ejb modules by specifying the common-util.jar as java module in the application.xml file of the ear. You can find more details about the same at:
http://jaitechwriteups.blogspot.com/2006/10/how-to-package-application-into-ear.html
The common-util.jar will be loaded by a single classloader and will be made available to both the war and the ejb-jar.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025603#4025603
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025603
More information about the jboss-user
mailing list