In Java, a class loader loads the Java classes used by an application. Most applications use the Java system class loader, which loads classes from the directories and JAR files specified by the CLASSPATH environment variable. In the normal Java program configuration, you must restart a program or server to begin using updated Java classes. EAServer uses customized Java class loaders to allow hot refresh of Web application classes and Java components without restarting the server. EAServer provides custom class loaders for these entity types:
Component For CORBA/Java and EJB components, allows you to define the list of classes that must be custom loaded in addition to the component implementation class.
Package Allows you to define a custom class list shared by all Java components that are installed in the package.
Web application Allows you to specify classes and JAR files that are not in the Web application’s WEB-INF/lib or WEB-INF/classes directories, but must be custom loaded for the Web application.
Application Allows you to define a custom class list shared by all components and Web applications that are installed in the J2EE Application.
Server Allows you to define a custom class list shared by all components, servlets, and Web applications running on the server.
Servlet For servlets that are not installed in a Web application, but are installed directly in a server, allows you define the list of classes that must be custom loaded in addition to the servlet implementation class.
Copyright © 2005. Sybase Inc. All rights reserved. |