Claims
- 1. A system for EJB classloading comprising:
a computer including an EJB stored thereon, said EJB having an EJB implementation class associated therewith; and, wherein the EJB implementation class is loaded in a child classloader such that all direct references to the EJB implementation class from classes loaded in the parent classloaders are removed.
- 2. The system of claim 1 wherein the custom classloader implementation used for the EJB implementation class is specifically disallowed from being loaded in the parent classloader.
- 3. The system of claim 1 wherein a custom interface is generated for the EJB implementation class, wherein said custom interface declares all methods that are invoked on the EJB implementation class by the classes loaded in the parent classloader.
- 4. The system of claim 3 wherein the classes in the parent classloader refer to the custom bean class interface.
- 5. A method for EJB classloading comprising the steps of:
providing a computer including an EJB stored thereon, said EJB having an EJB implementation class associated therewith; and, loading the EJB implementation class in a child classloader such that all direct references to the EJB implementation class from classes loaded in the parent classloaders are removed.
- 6. The method of claim 5 wherein the custom classloader implementation used for the EJB implementation class is specifically disallowed from being loaded in the parent classloader.
- 7. The method of claim 5 wherein a custom interface is generated for the EJB implementation class, wherein said custom interface declares all methods that are invoked on the EJB implementation class by the classes loaded in the parent classloader.
- 8. The method of claim 7 wherein the classes in the parent classloader refer to the custom bean class interface.
- 9. A computer readable medium including instructions stored thereon which when executed cause the computer to perform the steps of:
providing a computer including an EJB stored thereon, said EJB having an EJB implementation class associated therewith; and, loading the EJB implementation class in a child classloader such that all direct references to the EJB implementation class from classes loaded in the parent classloaders are removed.
- 10. The computer readable medium of claim 9 wherein the custom classloader implementation used for the EJB implementation class is specifically disallowed from being loaded in the parent classloader.
- 11. The computer readable medium of claim 9 wherein a custom interface is generated for the EJB implementation class, wherein said custom interface declares all methods that are invoked on the EJB implementation class by the classes loaded in the parent classloader.
- 12. The computer readable medium of claim 11 wherein the classes in the parent classloader refer to the custom bean class interface.
CLAIM OF PRIORITY
[0001] This application claims priority to U.S. Provisional Patent Application 60/450,779, filed Feb. 28, 2003, entitled “SYSTEM AND METHOD FOR EJB CLASSLOADING” (Atty. Docket No. BEAS-01451US0), and incorporated herein by reference.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60450779 |
Feb 2003 |
US |