Software component execution management using context objects for tracking externally-defined intrinsic properties of executing software components within an execution environment
First Claim
1. A computer-readable medium having stored thereon:
- programming code for a component context object on a server computer to accompany a software component instance in an object execution environment,the software component instance being one of a set of software components created at the server computer at request of a base client on a client computer, the set of software components to perform a data processing activity in a single logical thread,the component context object storing, at the server computer, a set of immutable context properties pertaining to management of the software component instance in the object execution environment by system management code,the properties comprising a client identifier, an activity identifier, and a transaction indicator,where the client identifier is indicative of the base client,the activity identifier is indicative of the set of software components, andthe transaction indicator is indicative of an atomic transaction encompassing the data processing activity of at least some of the set of software components inclusive of the software component instance, andwhere a transaction server executive creates the component context object at the server computer when the software component instance is created, and where the transaction server executive accesses the component context object properties during access by the base client of the software component instance without passing a reference to the component context object to the base client at the client computer,wherein the component context object exposes an interface having method members for invocation by the software component instance, the method members comprising;
a transaction completion indication method member for invocation by the requested software component instance prior to return from the data processing activity for the client to indicate to the system management code that the data processing activity has been successfully completed so that committal of a transaction encompassing the data processing activity can be initiated; and
a transaction abort indication method member for invocation by the requested software component instance prior to return from the data processing activity to provide an indication to the system management code that the data processing activity has been unsuccessfully completed so that the transaction should abort.
1 Assignment
0 Petitions
Accused Products
Abstract
A run-time executive of an object management system for managing execution of software components in an object execution environment uses a component context object to store intrinsic context properties related to an associated component. The run-time executive maintains an implicit association of the component context object with the application component. For example, the context properties can include a client id, an activity id, and a transaction reference. The component context object also provides an interface accessible to the associated component, with member functions for use in transaction processing, in creating additional other application components inheriting component'"'"'s context properties, and in access control based on abstract user classes (roles).
222 Citations
17 Claims
-
1. A computer-readable medium having stored thereon:
-
programming code for a component context object on a server computer to accompany a software component instance in an object execution environment, the software component instance being one of a set of software components created at the server computer at request of a base client on a client computer, the set of software components to perform a data processing activity in a single logical thread, the component context object storing, at the server computer, a set of immutable context properties pertaining to management of the software component instance in the object execution environment by system management code, the properties comprising a client identifier, an activity identifier, and a transaction indicator, where the client identifier is indicative of the base client, the activity identifier is indicative of the set of software components, and the transaction indicator is indicative of an atomic transaction encompassing the data processing activity of at least some of the set of software components inclusive of the software component instance, and where a transaction server executive creates the component context object at the server computer when the software component instance is created, and where the transaction server executive accesses the component context object properties during access by the base client of the software component instance without passing a reference to the component context object to the base client at the client computer, wherein the component context object exposes an interface having method members for invocation by the software component instance, the method members comprising; a transaction completion indication method member for invocation by the requested software component instance prior to return from the data processing activity for the client to indicate to the system management code that the data processing activity has been successfully completed so that committal of a transaction encompassing the data processing activity can be initiated; and a transaction abort indication method member for invocation by the requested software component instance prior to return from the data processing activity to provide an indication to the system management code that the data processing activity has been unsuccessfully completed so that the transaction should abort. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A computer system including a processor coupled to memory comprising:
-
programming code for a component context object to accompany software component instance in an object execution environment at a server computer, the component context object storing a set of immutable context properties pertaining to management of the software component instance in the object execution environment by system management code, the properties comprising a client identifier, an activity identifier, and a transaction indicator, where the client identifier is indicative of a base client that initiated creation of a set of software components in the object execution environment inclusive of the software component instance to perform a data processing activity at request of the base client, the activity identifier is indicative of the set of software components in the object execution environment inclusive of the software component instance all engaged in the data processing activity in a single logical thread, the transaction indicator is indicative of an atomic transaction encompassing the data processing activity of at least some of the set of software components in the object execution environment inclusive of the software component instance, and where a transaction server executive creates the component context object at the server computer when the software component instance is created, and where the transaction server executive accesses the component context object properties during access by the base client of the software component instance without passing a reference to the component context object to the base client at the client computer, wherein the component context object exposes an interface having method members for invocation by the software component instance, the method members comprising; a transaction completion indication method member for invocation by the requested software component instance prior to return from the data processing activity for the client to indicate to the system management code that the data processing activity has been successfully completed so that committal of a transaction encompassing the data processing activity can be initiated; and a transaction abort indication method member for invocation by the requested software component instance prior to return from the data processing activity to provide an indication to the system management code that the data processing activity has been unsuccessfully completed so that the transaction should abort. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer implemented method of managing a software component instance in an object execution environment on a server computer, the software component instance being one of a set of software components, each of which being created in turn at request of its respective immediate ancestor software component of the set commencing with an original ancestor software component of the set originally created at request of a base client on a client computer, the method comprising:
-
creating a component context object associated with the software component instance when the software component instance is created; storing in computer memory, by the component context object associated with the software component instance, a set of immutable context properties pertaining to management of the software component instance in the object execution environment by system management code, the properties comprising a client identifier, an activity identifier, and a transaction indicator; where the client identifier is indicative of the base client that initiated creation of the set of software components in the object execution environment inclusive of the software component instance to perform a data processing activity at request of the base client, the activity identifier is indicative of the set of software components in the object execution environment inclusive of the software component instance all engaged in the data processing activity in a single logical thread, the transaction indicator is indicative of an atomic transaction encompassing the data processing activity of at least some of the set of software components in the object execution environment inclusive of the software component instance; and accessing at the server computer, by a transaction server executive, the component context object during access by the base client of the server component instance without passing a reference to the component context object to the base client at the client computer, wherein the component context object exposes an interface having method members for invocation by the software component instance, the method members comprising; a transaction completion indication method member for invocation by the requested software component instance prior to return from the data processing activity for the client to indicate to the system management code that the data processing activity has been successfully completed so that committal of a transaction encompassing the data processing activity can be initiated; and
a transaction abort indication method member for invocation by the requested software component instance prior to return from the data processing activity to provide an indication to the system management code that the data processing activity has been unsuccessfully completed so that the transaction should abort. - View Dependent Claims (16, 17)
-
Specification