Java classes

A Web application’s Java classes include the implementation class for each servlet and JSP, and any server-side utility classes used by the servlets and JSPs.

EAServer uses a custom class loader to run a Web application’s servlets and classes referenced by servlet and JSP code. This feature allows hot refresh of servlets and JSPs. The custom class loader also allows each Web application to run with its own effective Java class path.

EAServer also supports class sharing among components and servlets. You can configure custom class lists for components, Web applications, J2EE applications, or a server process. The custom list allows you to support hot refresh of the implementation, and limit the number of copies of shared classes that are loaded into server memory. For example, if a Web application calls an EJB component, you can configure the component and the Web application to share instances of the component stub classes and common utility classes. See Chapter 30, “Configuring Custom Java Class Lists,” in the EAServer Programmer’s Guide.