METHOD, SERVER AND COMPUTER-READABLE RECORDING MEDIA FOR SETTING TRANSACTIONS OF MULTIPLE DATA OBJECTS
First Claim
Patent Images
1. A method for setting transactions of multiple data objects, comprising steps of:
- (a) a server acquiring information on multiple data objects used for a service object, and obtaining information on data sources that are set to correspond respectively to the data objects by referring to a setting file, wherein each of the data objects is a class configured to access a database where one or more specific data sources belong, and the service object is a class including one or more references to specific data objects for handling a database; and
(b) the server determining the multiple data objects to be used by local transactions by referring to the information on the data source if the information on the data source is determined to be homogenous and determining the multiple data objects to be used by distributed transactions by referring to the information on the data source if the information on the data source is not determined to be homogeneous,wherein, before the step of (a), the server analyzes whether the information on the data sources exists or not by analyzing codes of the data objects, and as a result of analysis, if there are at least two data objects with the information on the data sources, the steps of (a) and (b) are performed on the at least two data objects.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for setting transactions of multiple data objects is provided. The method includes steps of: (a) a server acquiring information on multiple data objects used for a service object, and obtaining information on data sources which are set to correspond respectively to the data objects by referring to a setting file; and (b) the server determining the multiple data objects to be used by local transactions or distributed transactions by referring to the information on the data source.
24 Citations
24 Claims
-
1. A method for setting transactions of multiple data objects, comprising steps of:
-
(a) a server acquiring information on multiple data objects used for a service object, and obtaining information on data sources that are set to correspond respectively to the data objects by referring to a setting file, wherein each of the data objects is a class configured to access a database where one or more specific data sources belong, and the service object is a class including one or more references to specific data objects for handling a database; and (b) the server determining the multiple data objects to be used by local transactions by referring to the information on the data source if the information on the data source is determined to be homogenous and determining the multiple data objects to be used by distributed transactions by referring to the information on the data source if the information on the data source is not determined to be homogeneous, wherein, before the step of (a), the server analyzes whether the information on the data sources exists or not by analyzing codes of the data objects, and as a result of analysis, if there are at least two data objects with the information on the data sources, the steps of (a) and (b) are performed on the at least two data objects. - View Dependent Claims (2, 4, 5, 6, 8, 9, 10, 11, 12)
-
-
3. (canceled)
-
7. (canceled)
-
13. A server for setting transactions on multiple data objects, comprising:
-
a communication part for acquiring the multiple data objects used in a service object; and a processor for (i) obtaining information on data sources that are set to correspond respectively to the data objects, by referring to a configuration file, wherein each of the data objects is a class configured to access a database where one or more specific data sources belong, and the service object is a class including one or more references to specific data objects for handling a database; and
(ii) determining or allowing to determine the multiple data objects to be used by local transactions by referring to the information on which data sources are set to correspond respectively to the data objects if the information on the data source is determined to be homogenous and determine the multiple data objects to be used by distributed transactions by referring to the information on which data sources are set to correspond respectively to the data objects if the information on the data source is not determined to be homogeneous,wherein, before the execution of (i), the processor analyzes whether the information on the data sources exists or not by analyzing codes of the data objects, and as a result of analysis, if there are at least two data objects with the information on the data sources, (i) and (ii) are performed on the at least two data objects. - View Dependent Claims (14, 16, 17, 18, 20, 21, 22, 23, 24)
-
-
15. (canceled)
-
19. (canceled)
Specification