Recycling components after self-deactivation
First Claim
1. In a computer, a computer operating environment for scalable, component-based server applications, comprising:
- a run-time service for executing an application component in a process, the application component having a state and implementing a set of functions;
an instance creation service operative, responsive to a request of a client, to return a reference to the application component through the run-time service to the client, whereby the client calls functions of the application component indirectly through the run-time service using the returned reference to initiate work by the application component;
before the client releases the reference, the run-time service being operative, responsive to an indication from the application component that the application component has completed work, to destroy the application component'"'"'s state upon returning from a client'"'"'s function call; and
the run-time service being operative, responsive to a post destruction function call comprising a function call from the client using the returned reference after the application component'"'"'s state is destroyed, to activate a recycled application component to perform the post destruction function call.
1 Assignment
0 Petitions
Accused Products
Abstract
A component-based framework includes system services and component integration interfaces that provide a run-time environment for component-based server application in which server application components have control over the duration of their state independent of client action. The framework provides functions that a server application component calls to indicate its work for a client is complete, and its state is to be destroyed. On the component'"'"'s return from the client'"'"'s method call, the framework destroys the component'"'"'s state thus releasing any server computer resources held by the component. This allows the server application components to be programmed so as to minimize the duration that their state remains in memory consuming server computer resources, and which enhances scalability of the server application.
-
Citations
20 Claims
-
1. In a computer, a computer operating environment for scalable, component-based server applications, comprising:
-
a run-time service for executing an application component in a process, the application component having a state and implementing a set of functions;
an instance creation service operative, responsive to a request of a client, to return a reference to the application component through the run-time service to the client, whereby the client calls functions of the application component indirectly through the run-time service using the returned reference to initiate work by the application component;
before the client releases the reference, the run-time service being operative, responsive to an indication from the application component that the application component has completed work, to destroy the application component'"'"'s state upon returning from a client'"'"'s function call; and
the run-time service being operative, responsive to a post destruction function call comprising a function call from the client using the returned reference after the application component'"'"'s state is destroyed, to activate a recycled application component to perform the post destruction function call. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. In a computer, a method of encapsulating state of processing work for a client by a server application in a component with improved scalability, comprising:
-
encapsulating function code and a processing state for the work in a component;
providing a reference through an operating service for a client to call the function code of the component to initiate processing of the work by the component;
receiving an indication from the component that the work by the component is complete;
before receiving any indication that the client has released the reference, discarding the processing state of the component responsive to the component indicating completion of the work; and
subsequent to discarding the processing state of the component, activating a recycled component upon receiving a call to initiate processing from the client using the reference. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer-readable medium comprising computer executable instructions comprising:
-
instructions responsive to a request from a client program to create an application component, to return a reference to the client program;
instructions responsive to a call from the client program using the reference to initiate processing of work by the application component, the application component producing a processing state during processing the work;
instructions for receiving an indication from the application component that processing by the application component of the work is complete;
instructions for destroying the processing state of the application component responsive to the indication from the application component that processing by the application component of the work is complete; and
instructions for, subsequent to destroying the processing state of the application component, activating an application component responsive to receiving a call from the client program using the reference. - View Dependent Claims (18, 19, 20)
-
Specification