[jboss-user] [EJB 3.0 Users] - Re: EJB with WAR Classloader

jaikiran do-not-reply at jboss.com
Wed Oct 7 07:31:17 EDT 2009

As per the spec, the .war has its own isolated classloader. However if you want to change that behaviour then follow this http://www.jboss.org/community/wiki/useJBossWebClassLoaderinJBoss5

anonymous wrote : If not, is there another way of an EJB access a static property inside the Web applications?

If that class with the static field is meant for both war and EJB jar, then why not package that in a separate jar file and place it in EAR/lib folder so that it's available to both the components and loaded by the same classloader.

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

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

More information about the jboss-user mailing list