Method and system for persisting beans as container-managed fields
First Claim
1. A method for persisting a bean as a container- the method comprising the computer-implemented steps of:
- managed field in a distributed data processing system, invoking a method of a Tie object;
obtaining an object reference comprising an adapter;
unwrapping the adapter to obtain a proxy;
stringifying the proxy; and
storing the string.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for persisting a container-managed server object or bean in a distributed data processing system is provided. A method in a Tie object is invoked by the container of the bean to assist in the persistence of the bean. The bean may have container-managed fields of both primitive and complex data-types, and the complex data-types may include references to other objects or beans. The Tie object obtains the object reference to the other object. The Tie object unwraps an adapter from the object reference to obtain a proxy of the referred object and stringifies the proxy. The string is then stored by the container in a back-end data store as a known primitive data-type. The referred object may be resurrected by unstringifying the string and reversing the process.
269 Citations
17 Claims
-
1. A method for persisting a bean as a container- the method comprising the computer-implemented steps of:
-
managed field in a distributed data processing system, invoking a method of a Tie object;
obtaining an object reference comprising an adapter;
unwrapping the adapter to obtain a proxy;
stringifying the proxy; and
storing the string. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A data processing system for persisting a bean as a container-managed field, the data processing system comprising:
-
means for invoking a method of a Tie object;
means for obtaining an object reference comprising an adapter;
means for unwrapping the adapter to obtain a proxy;
means for stringifying the proxy; and
means for storing the string. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
-
17. A computer program product in a computer readable medium for use with a data processing system for persisting a bean as a container-managed field in a distributed data processing system, the computer program product comprising:
-
first instructions for invoking a method of a Tie object;
second instructions for obtaining an object reference comprising an adapter;
third instructions for unwrapping the adapter to obtain a proxy;
fourth instructions for stringifying the proxy; and
fifth instructions for storing the string.
-
Specification