Method, server and computer-readable recording media for setting transactions of multiple data objects
First Claim
Patent Images
1. A method for allowing setting transactions of multiple data objects to be managed in a unified way for a developer to increase development productivity, comprising steps of:
- (a1) a server receiving a service query; and
(a2) the server searching a service object among multiple pre-stored service objects by referring to the received service query,(a3) the server deciding multiple data objects used for the searched service object,(a4) the server analyzing whether information on aliases designated to data sources exists by analyzing codes of the data objects,(a) the server, if there are at least two specific data objects with the information on the aliases designated to the data sources and unless the at least two data objects are designated to be used by a local transaction, acquiring information on the at least two specific multiple data objects used for the service object, and obtaining the information on the data sources that are set to correspond respectively to the at least two specific data objects by referring to a setting file, wherein each of the at least two specific 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 the at least two specific data objects for handling the database, wherein the information on the data sources corresponding to the multiple data objects is set on a framework; and
(b) the server determining the at least two specific multiple data objects to be used by local transactions by referring to the information on the aliases designated to the data sources if the information on the aliases designated to the data sources is determined to be homogenous and determining the at least two specific multiple data objects to be used by distributed transactions by referring to the information on the aliases designated to the data sources if the information on the aliases designated to the data sources is not determined to be homogeneous, wherein, before the step of (a), the server analyzes whether the information on the data sources exists 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,(c) injecting the at least two specific data objects determined to be used by the local transactions or the distributed transactions into the service object, to thereby allow the service object to use the at least two specific 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.
-
Citations
13 Claims
-
1. A method for allowing setting transactions of multiple data objects to be managed in a unified way for a developer to increase development productivity, comprising steps of:
-
(a1) a server receiving a service query; and (a2) the server searching a service object among multiple pre-stored service objects by referring to the received service query, (a3) the server deciding multiple data objects used for the searched service object, (a4) the server analyzing whether information on aliases designated to data sources exists by analyzing codes of the data objects, (a) the server, if there are at least two specific data objects with the information on the aliases designated to the data sources and unless the at least two data objects are designated to be used by a local transaction, acquiring information on the at least two specific multiple data objects used for the service object, and obtaining the information on the data sources that are set to correspond respectively to the at least two specific data objects by referring to a setting file, wherein each of the at least two specific 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 the at least two specific data objects for handling the database, wherein the information on the data sources corresponding to the multiple data objects is set on a framework; and (b) the server determining the at least two specific multiple data objects to be used by local transactions by referring to the information on the aliases designated to the data sources if the information on the aliases designated to the data sources is determined to be homogenous and determining the at least two specific multiple data objects to be used by distributed transactions by referring to the information on the aliases designated to the data sources if the information on the aliases designated to the data sources is not determined to be homogeneous, wherein, before the step of (a), the server analyzes whether the information on the data sources exists 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, (c) injecting the at least two specific data objects determined to be used by the local transactions or the distributed transactions into the service object, to thereby allow the service object to use the at least two specific data objects. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A server for allowing setting transactions on multiple data objects to be managed in a unified way for a developer to increase development productivity, comprising:
-
a communication part for receiving a service query, and acquiring the multiple data objects used in a service object; and a processor for (i) searching a service object among multiple pre-stored service objects by referring to the received service query, (ii) deciding multiple data objects used for the searched service object, (iii) analyzing whether information on aliases designated to data sources exists by analyzing codes of the data objects, (iv) if there are at least two specific data objects with the information on the aliases designated to the data sources and unless the at least two data objects are designated to be used by a local transaction, obtaining the information on the data sources that are set to correspond respectively to the at least two specific data objects by referring to a configuration file, wherein each of the at least two specific 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 the at least two specific data objects for handling the database, wherein the information on the data sources corresponding to the multiple data objects is set on a framework; and (v) determining or allowing to determine the at least two specific multiple data objects to be used by local transactions by referring to the information on the aliases designated to data sources if the information on the data source is determined to be homogenous and determine the at least two specific multiple data objects to be used by distributed transactions by referring to the information on the aliases designated to data sources if the information on the data source is not determined to be homogeneous, wherein, before the execution of (iv), 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, (iv) and (v) are performed on the at least two data objects, wherein, after the execution of (v), the processor injects the multiple data objects determined to be used by the local transactions or the distributed transactions into the service object. - View Dependent Claims (9, 10, 11, 12, 13)
-
Specification