I have 2 ejbs. 1 MDB and 1 Session bean, java classes and common classes
This is the dependency structure MDB calls set of Java classes (JAVA1) and then JAVA1 calls Sessions beans which use other set of Java classes (JAVA2) and we have common java classes used by all (COMMON JAVA)
I am planning to have 2 ejb jars one for each EJB and correspondingly 2 EJB projects in IDE. Also 3 separate java projects (one for jAVA1 and one for JAVA2 and one for common classes)
The reason for splitting as different projects is for convienience of export of jar files. MDB separate jar - ejbMDB.jar session bean - separate - ejbSession.jar JAVA1 - separate jar JAVA2 - separate jar Common Classes - separate jar
Is this right way of set up for projects in IDE and jars? Or can you recommend any other way? How can i make ejbMDB.jar refer to JAVA1 jar?