System and method for transparent persistence management
First Claim
1. A cluster server system comprising:
- a plurality of instances, each instance including;
a dispatcher to distribute a plurality of service requests to one or more server nodes, wherein each server node includes;
a lock manager to manage locks on one or more of a plurality of database data as requested by a locking service on a central services instance;
a cluster manager to communicate with a messaging service on the central services instance;
a configuration manager to communicate with a relational database on a permanent storage medium, the relational database to store the plurality of database data within a plurality of database tables; and
a persistence manager to map a plurality of persistent data objects to the plurality of database data and modify the persistent data objects responsive to receiving one of the plurality of service requests, the persistence manager further to associate a state property with each of the persistent data objects indicating an operation to be performed within the plurality of database tables of the relational database when the modifications to the persistent data objects are committed to the relational database,wherein the persistence manager comprises state transition logic defining a plurality of values for the state property associated with each of the plurality of persistent data objects, wherein each of the plurality of values corresponds to a modification performed on the persistent data object with which the state property is associated.
2 Assignments
0 Petitions
Accused Products
Abstract
One embodiment of the invention employs “transparent object persistence” techniques in which persistent data objects (i.e., the objects that represent persistent data from a database) are separated from business processing objects (i.e., the objects that handle the requests, process specific business operations, manipulate the persistent data and respond to clients). Within a Java 2 Enterprise Edition (“J2EE”) environment, the business processing objects are entity beans managed by an Enterprise Java Bean (“EJB”) container. A persistence manager manages the persistent data objects, which provide an in-memory representation of a set of database data. The entity beans manipulate the persistent data by invoking get/set accessor methods on the persistent data objects. In one embodiment, the persistence manager associates a state with each of the persistent data objects which indicates an operation to be performed within tables of a relational database when the modifications to the persistent data objects are committed to the relational database.
-
Citations
19 Claims
-
1. A cluster server system comprising:
a plurality of instances, each instance including; a dispatcher to distribute a plurality of service requests to one or more server nodes, wherein each server node includes; a lock manager to manage locks on one or more of a plurality of database data as requested by a locking service on a central services instance; a cluster manager to communicate with a messaging service on the central services instance; a configuration manager to communicate with a relational database on a permanent storage medium, the relational database to store the plurality of database data within a plurality of database tables; and a persistence manager to map a plurality of persistent data objects to the plurality of database data and modify the persistent data objects responsive to receiving one of the plurality of service requests, the persistence manager further to associate a state property with each of the persistent data objects indicating an operation to be performed within the plurality of database tables of the relational database when the modifications to the persistent data objects are committed to the relational database, wherein the persistence manager comprises state transition logic defining a plurality of values for the state property associated with each of the plurality of persistent data objects, wherein each of the plurality of values corresponds to a modification performed on the persistent data object with which the state property is associated. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
8. A method comprising:
-
storing a set of database data within a plurality of database tables; generating a plurality of persistent data objects representing the set of database data in a volatile memory; mapping the plurality of persistent data objects to the set of database data; modifying the plurality of persistent data objects responsive to receiving service requests from a dispatcher module; and modifying a value of a state property associated with each of the plurality of persistent data objects in response to modifying the plurality of persistent data objects, wherein the value of the state property represents an operation to be performed within the plurality of database tables of a relational database when the modifications to the persistent data objects are committed to the relational database. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. A machine readable medium having instructions therein that when executed by the machine cause the machine to:
distribute a plurality of service requests from a dispatcher to one or more server nodes, wherein each server node includes; a lock manager to manage locks on one or more of a plurality of database data as requested by a locking service on a central services instance; a cluster manager to communicate with a messaging service on the central services instance; a configuration manager to communicate with a relational database on a permanent storage medium, the relational database to store the plurality of database data within a plurality of database tables; and a persistence manager to map a plurality of persistent data objects to the plurality of database data and modify the persistent data objects responsive to receiving one of the plurality of service requests, the persistence manager further to associate a state property with each of the persistent data objects indicating an operation to be performed within the plurality of database tables of the relational database when the modifications to the persistent data objects are committed to the relational database, wherein the persistence manager comprises state transition logic defining a plurality of values for the state property associated with each of the plurality of persistent data objects, wherein each of the plurality of values corresponds to a modification performed on the persistent data object with which the state property is associated. - View Dependent Claims (15, 16, 17, 18, 19)
Specification