Quantcast
Channel: Java mon amour
Viewing all articles
Browse latest Browse all 1124

Same classloader for EJB and WAR

$
0
0
https://docs.oracle.com/middleware/1212/wls/WLPRG/classloading.htm#WLPRG293

you can alter the weblogic-application.xml with this


<classloader-structure>
<module-ref>
<module-uri>ejb1.jar</module-uri>
</module-ref>
<module-ref>
<module-uri>web1.war</module-uri>
</module-ref>
</classloader-structure>


however it's recommended to either put your shared classes in APP-INF/lib, or remove circular dependencies if any

Viewing all articles
Browse latest Browse all 1124

Trending Articles