×

Method, server and computer-readable recording media for setting transactions of multiple data objects

  • US 9,870,387 B2
  • Filed: 04/28/2016
  • Issued: 01/16/2018
  • Est. Priority Date: 02/26/2016
  • Status: Active Grant
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.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×