Where should I put common classes that are used by more than one EJB?
1) If two EJBs use the same classes, include theses classes in one of the EJBs. Place both EJBs in the same JAR file. After deployment, both EJBs will be able to use the common classes. 2) Place the commonly used class files in a JAR file, which you place in the $J2EE_HOME/lib directory for 9.0.3 and lower and $J2EE_HOME/applib for 9.0.4. Then all applications deployed in OC4J can use these supporting classes. 3) Because “child applications can access classes that exist within a “parent” application, place the commonly used classes in a parent application. All EJBs that use these classes should define the application that contains the common classes as its parent by adding the parent attribute to its