I have two .Ear files, namely A.EAR and B.EAR. The first file is my application (around 1.5 MB) and the second one contains all the needed libraries such as Hibernate, log4j, etc. (Around 70 MB). How can I deploy them on weblogic in such a way that my code in A.EAR use libraries in B.EAR?
- I cannot pack them into one .EAR file, coz I need to email my app every week. On emailing I just send the A.EAR file.
- I cannot put the used libraries in
libfolder of weblogic, because other apps use different library versions.
Edit:
Having find the right answer, it seems that this Q on SO is somehow relevant.
You could define B.ear as a shared application library and access it from A
http://docs.oracle.com/cd/E17904_01/web.1111/e13706/libraries.htm#i1065356