Originally posted by Li Xin:
The specification mentions that J2EE classes/interfaces should not be included in the JAR file, does it mean that if my bean needs another helper class or extends another class, these classes cannot be included in the JAR file? Then how does the container know where to look for these classes?
Thanks.
What it means is that the standard J2EE SDK interfaces/classes like EJBObject, EJBHome, EnterpriseBean, EJBException etc....should not be bundled along with your application jar.
All the dependent/helper classes that have been written by the bean developer and used in the bean code needs to be included in the jar file.