EJB implementation class loading with removed dependencies with ability to replace EJB implementation class without full redeployment
AssigneeBEA Systems, Inc.
InventorsMatthew Shinn, Seth White
Life of this patent
Estimating the term…
Abstract
A system and method for EJB classloading. By changing the EJB classloading scheme so that the EJB impl class is loaded in a child ClassLoader, the system allows the old EJB impl class to be replaced with a new one without disturbing the rest of the deployment. The key to doing this is to remove all direct references to the EJB impl class from classes loaded in the parent ClassLoaders. Removing this dependency allows the old EJB impl class to be replaced at any time with a new impl class.
Claims12
A system for EJB classloading comprising:
- a computer including an EJB stored thereon, said EJB having an EJB implementation class associated therewith;
- a parent classloader for loading EJB implementation class interfaces;
- a custom child classloader for loading the EJB implementation class such that all direct references to the EJB implementation class are removed from the parent classloader;
- and
- wherein dependencies of the EJB implementation class upon its parent classloader are removed such that the EJB implementation class is capable of being replaced with a new EJB implementation class in a computer readable medium without requiring full redeployment.
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;
- providing a parent classloader for loading EJB implementation class interfaces and a custom child classloader for loading the EJB implementation class;
- 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;
- and
- wherein dependencies of the EJB implementation class upon its parent classloader are removed such that the EJB implementation class is capable of being replaced with a new EJB implementation class in a computer readable medium without requiring full redeployment.
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,
- providing a parent classloader for loading EJB implementation class interfaces and a custom child classloader for loading the EJB implementation class;
- loading the EJB implementation class in the child classloader such that all direct references to the EJB implementation class from classes loaded in the parent classloaders are removed;
- and
- wherein dependencies of the EJB implementation class upon its parent classloader are removed such that the EJB implementation class is capable of being replaced with a new EJB implementation class in a computer readable medium without requiring full redeployment.
Dependencies are inferred from the claim text.