Originally posted by Ernest Lee:
How does classloader effect EJB lookup?
Well, for one the J2EE Specification mandates that components should only be able to access local ejbs that are packaged in the same ear. Therefore, if you want to access your local ejbs from your war then you must package them together in an ear deployment.
Most problems that people have with J2EE packaging and deployment are related directly to classloading. In fact, many problems that people have with
Java in general are related to classloading. So yes, classloaders definitely play a big role in J2EE.