Apparatus for switching an object managing method and a method thereof
First Claim
Patent Images
1. An object managing apparatus managing an object used by an application program including one or more components, in a component base that is a base for configuring and executing the application program and provides each component with an external storage access function, comprising:
- a selecting device selecting an object managing method suitable for a type of a component, from a plurality of object managing methods that are prepared in advance, each object managing method representing an algorithm for managing an object used in the apparatus and including an accessing method to data stored in an external storage; and
a switching device switching in the component base, at least one of an object caching part that caches a persistence object corresponding to data of the external storage using a specified algorithm and an object persistence processing part performing conversion between the data of the external storage and the persistence object, with a part corresponding to the selected object managing method, andwherein the switching device has a cache table caching an object for each transaction, and uses an object caching part that registers an object in the cache table after a transaction starts, and clears the cache table when the transaction terminates, as the part corresponding to the selected object managing method.
2 Assignments
0 Petitions
Accused Products
Abstract
In a system configuring and executing an application by combining a plurality of components, a method suitable for the type of a component is selected from a plurality of object managing methods, and an object caching part and an object persistence processing part corresponding to the method are included in a component base.
-
Citations
3 Claims
-
1. An object managing apparatus managing an object used by an application program including one or more components, in a component base that is a base for configuring and executing the application program and provides each component with an external storage access function, comprising:
-
a selecting device selecting an object managing method suitable for a type of a component, from a plurality of object managing methods that are prepared in advance, each object managing method representing an algorithm for managing an object used in the apparatus and including an accessing method to data stored in an external storage; and a switching device switching in the component base, at least one of an object caching part that caches a persistence object corresponding to data of the external storage using a specified algorithm and an object persistence processing part performing conversion between the data of the external storage and the persistence object, with a part corresponding to the selected object managing method, and wherein the switching device has a cache table caching an object for each transaction, and uses an object caching part that registers an object in the cache table after a transaction starts, and clears the cache table when the transaction terminates, as the part corresponding to the selected object managing method.
-
-
2. An object managing apparatus managing an object used by an application program including one or more components, in a component base that is a base for configuring and executing the application program and provides each component with an external storage access function, comprising:
-
a selecting device selecting an object managing method suitable for a type of a component, from a plurality of object managing methods that are prepared in advance, each object managing method representing an algorithm for managing an object used in the apparatus and including an accessing method to data stored in an external storage; and a switching device switching in the component base, at least one of an object caching part that caches a persistence object corresponding to data of the external storage using a specified algorithm and an object persistence processing part performing conversion between the data of the external storage and the persistence object, with a part corresponding to the selected object managing method, and wherein the switching apparatus has a cache table common to all transactions, and uses an object caching part which does not clear the cache table but makes the other transaction use an object on the cache table when one transaction terminates, as the part corresponding to the selected object managing method.
-
-
3. An object managing apparatus managing an object used by an application program including one or more components, in a component base that is a base for configuring and executing the application program and provides each component with an external storage access function, comprising:
-
a selecting device selecting an object managing method suitable for a type of a component, from a plurality of object managing methods that are prepared in advance, each object managing method representing an algorithm for managing an object used in the apparatus and including an accessing method to data stored in an external storage; and a switching device switching in the component base, at least one of an object caching part that caches a persistence object corresponding to data of the external storage using a specified algorithm and an object persistence processing part performing conversion between the data of the external storage and the persistence object, with a part corresponding to the selected object managing method, and wherein the switching device uses an object caching part that writes data of an object being used by the application program in the external storage, and sets next data to the object being used, thereby returning the data to the application program when the application program requests acquisition of an object to be processed, as the part corresponding to the selected object managing method.
-
Specification