Developing java server components without restarting the application server
First Claim
1. A non-transitory computer-readable medium containing instructions to configure a processor to perform a method, the method comprising:
- providing, at an application server, a component comprising an implementation class and an interface class, wherein the interface class is configured to be callable by at least another component and further configured to be changed less often than the implementation class, wherein providing includes providing a first classloader for the implementation class and a second classloader for the interface class, the application server executing the component without restarting; and
inhibiting, at the application server, access to the implementation class to enable the application to execute the component, wherein at least another component may not call the implementation class, the access is being inhibited by inhibiting access to a classloader for the implementation class and the at least another component accesses the implementation class by accessing the interface class through a dedicated classloader, the dedicated classloader loads the implementation class and instantiates the implementation class, wherein the inhibiting includes selecting one of the implementation class and another implementation class, each of which associated with a Java classloader separate from another classloader for the interface class, the selected one being implemented at the application server.
3 Assignments
0 Petitions
Accused Products
Abstract
The subject matter disclosed herein provides methods and apparatus, including computer program products, for developing components, such as Java server components, without restarting the application server hosting those components. In one aspect, there is provided a computer-implemented method. The method may include providing a component comprising an implementation class and an interface class. At the application server, access to the implementation class may be inhibited to enable the application to execute the component without restarting the application. Related apparatus, systems, methods, and articles are also described.
-
Citations
16 Claims
-
1. A non-transitory computer-readable medium containing instructions to configure a processor to perform a method, the method comprising:
-
providing, at an application server, a component comprising an implementation class and an interface class, wherein the interface class is configured to be callable by at least another component and further configured to be changed less often than the implementation class, wherein providing includes providing a first classloader for the implementation class and a second classloader for the interface class, the application server executing the component without restarting; and inhibiting, at the application server, access to the implementation class to enable the application to execute the component, wherein at least another component may not call the implementation class, the access is being inhibited by inhibiting access to a classloader for the implementation class and the at least another component accesses the implementation class by accessing the interface class through a dedicated classloader, the dedicated classloader loads the implementation class and instantiates the implementation class, wherein the inhibiting includes selecting one of the implementation class and another implementation class, each of which associated with a Java classloader separate from another classloader for the interface class, the selected one being implemented at the application server. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer-implemented method comprising:
-
providing, at an application server, a component comprising an implementation class and an interface class, wherein the interface class is configured to be callable by at least another component and further configured to be changed less often than the implementation class, wherein providing includes providing a first classloader for the implementation class and a second classloader for the interface class, the application server executing the component without restarting; and inhibiting, at the application server, access to the implementation class to enable the application to execute the component, wherein at least another component may not call the implementation class, the access is being inhibited by inhibiting access to a classloader for the implementation class and the at least another component accesses the implementation class by accessing the interface class through a dedicated classloader, the dedicated classloader loads the implementation class and instantiates the implementation class, wherein the inhibiting includes selecting one of the implementation class and another implementation class, each of which associated with a Java classloader separate from another classloader for the interface class, the selected one being implemented at the application server. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A system comprising:
-
one or more processors; and memory including code to configure the one or more processor to perform a method comprising; providing, at an application server, a component comprising an implementation class and an interface class, wherein the interface class is configured to be callable by at least another component and further configured to be changed less often than the implementation class, wherein providing includes providing a first classloader for the implementation class and a second classloader for the interface class, the application server executing the component without restarting; and inhibiting, at the application server, access to the implementation class to enable the application to execute the component, wherein at least another component may not call the implementation class, the access is being inhibited by inhibiting access to a classloader for the implementation class and the at least another component accesses the implementation class by accessing the interface class through a dedicated classloader, the dedicated classloader loads the implementation class and instantiates the implementation class, wherein the inhibiting includes selecting one of the implementation class and another implementation class, each of which associated with a Java classloader separate from another classloader for the interface class, the selected one being implemented at the application server. - View Dependent Claims (14, 15, 16)
-
Specification