Where to place application exceptions when using Java clients?
If a J2EE application that is being accessed through a Java client throws a runtime exception, the client needs to have that exception in its Classpath. These application exceptions need to be packaged as separate JAR files (util.jar) within the EJB module, and the same JAR file must also be placed on the VM client so as to be able to catch them at runtime. Refer the exceptions to the section on ‘Common ClassLoader problems’.