IP Library Granted Patent US 7,003,776
Granted Patent B2
US 7,003,776 · App. 09/920,787 · Granted Feb 21, 2006

System and method for object persistence life-cycle and object caching integration

Assignee: OIC Acquisition I Corporation
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,003,776
App. No.
09/920,787
Granted
Feb 21, 2006
Kind
B2
Abstract

A system for integrating object changes occurring to an object in a first object storage system with a second object storage system. The system operates by first receiving from a first object storage systems a notification of an event relating to an object in the first object storage system. The system sets up a representation of the object in a second object storage system in response to the notification and determines object changes made to the object in the first object storage system by using the representation in the second object storage system. Finally, the system determines object changes with the representation in the second storage system.

Claims (38)

1. A computer-implemented method for integrating entity bean object changes occurring to an entity bean object in a container with a persistence manager, the container being capable of issuing notifications of events relating to entity bean objects contained therein, the method comprising steps of:

receiving, at a notification receiver, from the container a notification of an event relating to an entity bean object in the container;

setting up, by a second object storage system, a copy of the entity bean object in the persistence manager in response to the notification;

determining, by the second object storage system, object changes made to the entity bean object in the container using the representation in the persistence manager;

integrating, by the second object storage system, the determined entity bean object changes with the copy in the persistence manager;

wherein the persistence manager connector integrates the determined object chances into the second object storage system; and

maintaining, by a consistency maintaining unit, consistency between the copy of the entity bean object in the persistence manager and the entity bean object in the container.

2. A method for integrating entity bean object changes as in claim 1 , wherein the container is an Enterprise JavaBeans (EJB) container.

3. A method for integrating entity bean object changes as in claim 1 , wherein the receiving step comprises the step of receiving a callback method associated with the event from the container.

4. A method for integrating entity bean object changes as in claim 1 , wherein the setting up step comprises the step of searching for a main copy of the entity bean object in the persistence manager.

5. A method for integrating entity bean object changes as in claim 4 , wherein the setting up step further comprises loading a main copy of the object from a database into the persistence manager.

6. A method for integrating entity bean object changes as in claim 5 , wherein the integrating step further comprises the step of merging the entity bean object changes into a main copy of the entity bean object in the persistence manager.

7. A method for integrating entity bean object changes as in claim 1 , wherein the setting up step includes creating a working copy for maintaining the original state of the entity bean object; and

the determining step comprises steps of:

modifying the working copy according to the entity bean object changes in the container; and

comparing the working copy of the entity bean object and the original state copy of the entity bean object to determine the differences between two copies.

8. A method for integrating entity bean object changes as in claim 7 , wherein the determining step further comprises the step of storing the entity bean object changes in a change story copy of the object in the persistence manager.

9. A method for integrating entity bean object changes as in claim 8 , where in the integrating step comprises the step of committing the entity bean object changes to a database.

10. A method for integrating entity bean object changes as in claim 1 , wherein the receiving step further comprises the step of registering a synchronization event listener with a transaction service of the container.

11. A method for integrating entity bean object changes as in claim 1 , further comprising steps of:

Receiving a rollback notification to undo actions in a transaction prior to the notification, the rollback notification being received up until after changes are updated to a database; and

undoing the actions.

12. In a computer system, an object change integration system for integrating entity bean object changes occurring to an entity bean object in a container with a persistence manager, the object change integration system comprising:

a notification receiver for receiving from the container a notification of an event relating to an entity bean object in the container;

a representation setter for instructing a second object storage system to set up a copy of the entity bean object in the persistence manager in response to the notification;

a change determination unit for instructing the second object storage system to determine object changes made to the entity bean object in the container using the representation in the persistence manager;

an object change integrator for instructing the second object storage system to integrate the determined entity bean changes with the copy in the persistence manager;

wherein the persistence manager connector integrates the determined object chances into the second object storage system; and

a consistency maintaining unit for maintaining consistency between the copy of the entity bean object in the persistence manager and the entity bean object in the container.

13. An entity bean change integration system as in claim 12 , wherein the container is an Enterprise JavaBeans (EJB) container.

14. A persistence manager connector in a computer system for integrating entity bean object changes occurring to an entity bean object in a container with a persistence manager, the persistence manager comprising:

a notification receiver for receiving from the container a notification of an event relating to an entity bean object in the container;

a representation setting instructor for instructing a second object storage system to set up a copy of the entity bean object in the persistence manager in response to the notification;

a change determination instructor for instructing the second object storage system to determine object changes made to the entity bean object in the container using the representation in the persistence manager;

an integration instructor for instructing the second object storage system to integrate the determined entity bean changes with the copy in the persistence manager;

wherein the persistence manager connector integrates the determined object chances into the second object storage system; and

a consistency maintaining unit for maintaining consistency between the copy of the entity bean object in the persistence manager and the entity bean object in the container.

15. A persistence manager connector as in claim 14 , wherein the first object storage system is an Enterprise JavaBeans (EJB) container.

Assignments (4)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 11, 2006
From: OIC ACQUISITION I CORPORATION
To: ORACLE INTERNATIONAL CORPORATION
Reel/Frame 018279/0189 →
CORRECTIVE ASSIGNMENT TO CORRECT ASSIGNEE'S NAME PREVIOUSLY RECORDED AT REEL 013055 FRAME 0327 Recorded Mar 13, 2003
From: SUTHERLAND, JAMES BRYCE
To: OIC ACQUISITION 1 CORPORATION
Reel/Frame 013831/0531 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jul 8, 2002
From: WEBGAIN, INC.
To: ORACLE CORPORATION
Reel/Frame 013055/0327 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 1, 2001
From: SUTHERLAND, JAMES BRYCE
To: WEBGAIN, INC.
Reel/Frame 012045/0779 →
Continuity (1)
Related Publication 20030028682A1 · Feb 6, 2003