we have an EAR DC which contains a EJB jar (DC) . The EJB DC uses a Java DC which has common classes used by many DC's in different SC's. The EJB DC has a reference to a compilation and assembly public part of the Java DC so I assume this means when we build the EJB DC , the jar file for the Java DC should be packaged in the EJB jar. Why must I set an explicit reference from the EAR DC to the Java DC for deployment to work ? I would expect the EJB should have references to the DC's it needs to use but the ear should only need to know the modules that we add to it.
Thanks for your advice .