Hi all
I have web 2.5 project and it references to library projects (library projects contain other java projects) via the application-jee.xml file in its ear project. To provide build time dependency I created jar files out of the java projects inside the library and added them as java build path references to my web 2.5 project. When I deploy I find that the ear file of web 2.5 projectcontains the library jar file itself. As a result it negates the use of runtime dependency or application to application reference. I want my web 2.5 project to use the library at runtime.
I have a static class in that library that behaves singleton and i dont want it to be accessed other than via the library. If the library is accessed it would ensure the class is loaded through one loader. Any thoughts on how to proceed??
Thank you all.
regards
LNV