Method and apparatus for partitioning of managed state for a Java based application
First Claim
1. A method for managing container-managed state for a Java based application, comprising the operations of:
- classifying individual entity bean objects according to a particular state management type, the state management type being one of a recoverable state or a non-recoverable state, the recoverable state being one of a memory replicated state management type and a disk replicated state management type;
storing a plurality of state objects, each state object storing a state of a corresponding entity bean object within a memory address space of a Java server process, wherein each state object is associated with the state management type of the corresponding entity bean object; and
providing state management for each entity bean object using a state object associated with the state management type corresponding to the respective entity bean object, the providing state management being based separately on each different state management type and on those state objects corresponding to the different state management type, the providing state management comprising replicating each one of the plurality of state objects in a state server, a different one of the state servers being dedicated to a particular one of the state management types, a different one of the state servers being provided for each different recoverable state management type, each of the state servers being separate from the memory address space of the Java server process.
2 Assignments
0 Petitions
Accused Products
Abstract
A method is disclosed for partitioning a managed state for a Java based application. The application developer is allowed to associate individual entity beans with a particular state management type. Then, during execution, a plurality of state objects are provided, where each state object stores a state of a corresponding entity bean object within the memory address space of a Java server process. Further, each state object is associated with the state management type of the corresponding entity bean object. In this manner, state management is provided for each entity bean object based on the associated state management type using a corresponding state object. The state management type can be a memory replicated state management type, a disk replicated state management type, a non-replicated state manage type.
98 Citations
20 Claims
-
1. A method for managing container-managed state for a Java based application, comprising the operations of:
-
classifying individual entity bean objects according to a particular state management type, the state management type being one of a recoverable state or a non-recoverable state, the recoverable state being one of a memory replicated state management type and a disk replicated state management type; storing a plurality of state objects, each state object storing a state of a corresponding entity bean object within a memory address space of a Java server process, wherein each state object is associated with the state management type of the corresponding entity bean object; and providing state management for each entity bean object using a state object associated with the state management type corresponding to the respective entity bean object, the providing state management being based separately on each different state management type and on those state objects corresponding to the different state management type, the providing state management comprising replicating each one of the plurality of state objects in a state server, a different one of the state servers being dedicated to a particular one of the state management types, a different one of the state servers being provided for each different recoverable state management type, each of the state servers being separate from the memory address space of the Java server process. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for managing container-managed state for a Java application, comprising the operations of:
-
partitioning individual entity bean objects of the Java application into state partitions, wherein the state partitions manage concurrency for the Java application, the partitioning being by storing state of each particular entity bean object in a state object dedicated to a state management type corresponding to the state management type of the particular entity bean object, the state management types being one of a recoverable state or a non-recoverable state, the recoverable state being one of a memory replicated state management type and a disk replicated state management type, each state object storing the state of a corresponding entity bean object within a memory address space of a Java server process; classifying individual state objects within each state partition using state management units, wherein each particular state management unit is a collection of the state objects corresponding to one particular state management type for recoverable and migration capable state of the respective corresponding particular entity bean objects; and replicating each particular state management unit in one of a plurality of state servers according to the particular state management type that corresponds to the particular state objects classified in the particular state management unit, each of the state servers being separate from the memory address space of the Java server process. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A system for managing container-managed state for a Java based application, comprising:
-
an application having a plurality of entity bean objects, each entity bean object comprising a state management type, the state management type being one of a recoverable state or a non-recoverable state, the recoverable state being one of a memory replicated state management type and a disk replicated state management type; a plurality of state objects, each state object storing a state of a corresponding entity bean object within a memory address space of a Java server process, wherein each state object is associated with a particular state management type of the corresponding entity bean object; a plurality of state management units that classify the state objects, a particular state object being classified into a particular state management unit based on the particular state management type of the corresponding entity bean object, wherein the state management units facilitate state management for each entity bean object; a state server dedicated to each state management type, the state management type identifying a policy for replication of a state object to a state server dedicated to a particular state management type and a policy for migration of a state object from one server process to another server process, each of the state servers being separate from the memory address space of the Java server process; and a replicated state manager configured to replicate a particular state management unit to the state server that is dedicated to the particular state management type of the particular state object that is classified into the particular state management unit to be replicated. - View Dependent Claims (16, 17, 18, 19, 20)
-
Specification