Method for automatic generation of schema mapping application code
First Claim
Patent Images
1. A method for automatic generation of schema mapping application code, including:
- loading a code generation tool with source and target schemas, wherein the code generation tool is triggered by selecting a code generation menu item, the code generation menu allowing the user to control aspects of the code generation process including;
specifying a file system directory where generated files will be saved,turning off generation of particular application implementation files,defining the mapping specification between the source and the target, andcustomizing the generated application by incorporating the generated code into the existing application of the user;
wherein the code generation tool is configured to generate at least, one of, (i) a stand- alone application, (ii) a web service implementation, and (iii) a software component for performing the specified map transformation from input data documents to produce the output data documents;
triggering the code generation tool, wherein the code generation tool is configured to generate an application for generating code for performing the specified map transformation from input data documents to produce the output data documents;
wherein the application includes a plurality of static library classes and a plurality of dynamic classes, the implementation of the static library classes being fixed and not dependent upon the source or target schema and map specification for any particular generated application, the implementation and quantity of the dynamic classes being dependent upon the source and target schemas and the map specification that the code generation tool generates;
wherein the dynamic classes are separated into two groups, (a) the first group termed the singleton dynamic classes, the first group being dynamic classes for which the code generation tool is invoked once to produce a single version of these classes and, (b) the second group termed the map-specific dynamic classes, the second group being the dynamic classes for which the code generation tool is invoked multiple times to produce various versions of these classes;
compiling the code generated by the code generation tool; and
executing the code generated by the code generation tool to transform input data files.
0 Assignments
0 Petitions
Accused Products
Abstract
A method for automatic generation of schema mapping application code. The method includes loading a code generation tool with source and target schemas. The method further includes defining the mapping specification between the source and the target. The method proceeds by triggering the code generation tool. Afterwards, the method proceeds by compiling the generated code. Furthermore, the method includes executing the generated code to transform input data files.
-
Citations
4 Claims
-
1. A method for automatic generation of schema mapping application code, including:
-
loading a code generation tool with source and target schemas, wherein the code generation tool is triggered by selecting a code generation menu item, the code generation menu allowing the user to control aspects of the code generation process including; specifying a file system directory where generated files will be saved, turning off generation of particular application implementation files, defining the mapping specification between the source and the target, and customizing the generated application by incorporating the generated code into the existing application of the user; wherein the code generation tool is configured to generate at least, one of, (i) a stand- alone application, (ii) a web service implementation, and (iii) a software component for performing the specified map transformation from input data documents to produce the output data documents; triggering the code generation tool, wherein the code generation tool is configured to generate an application for generating code for performing the specified map transformation from input data documents to produce the output data documents; wherein the application includes a plurality of static library classes and a plurality of dynamic classes, the implementation of the static library classes being fixed and not dependent upon the source or target schema and map specification for any particular generated application, the implementation and quantity of the dynamic classes being dependent upon the source and target schemas and the map specification that the code generation tool generates; wherein the dynamic classes are separated into two groups, (a) the first group termed the singleton dynamic classes, the first group being dynamic classes for which the code generation tool is invoked once to produce a single version of these classes and, (b) the second group termed the map-specific dynamic classes, the second group being the dynamic classes for which the code generation tool is invoked multiple times to produce various versions of these classes; compiling the code generated by the code generation tool; and executing the code generated by the code generation tool to transform input data files. - View Dependent Claims (2, 3)
-
-
4. A method for automatic generation of schema mapping application code, including:
-
loading a code generation tool with source and target schemas, wherein the code generation tool is triggered by selecting a code generation menu item, the code generation menu allowing the user to control aspects of the code generation process including; specifying a file system directory where generated files will be saved, turning off generation of particular application implementation files, defining the mapping specification between the source and the target, and customizing the generated application by incorporating the generated code into the existing application of the user; triggering the code generation tool, wherein the code generation tool is configured to generate an application for generating code for performing the specified map transformation from input data documents to produce the output data documents; wherein the application includes a plurality of static library classes and a plurality of dynamic classes, the implementation of the static library classes being fixed and not dependent upon the source or target schema and map specification for any particular generated application, the implementation and quantity of the dynamic classes being dependent upon the source and target schemas and the map specification that the code generation tool generates; wherein the dynamic classes are separated into two groups, (a) the first group termed the singleton dynamic classes, the first group being dynamic classes for which the code generation tool is invoked once to produce a single version of these classes and, (b) the second group termed the map-specific dynamic classes, the second group being the dynamic classes for which the code generation tool is invoked multiple times to produce various versions of these classes; wherein the code generation tool is coordinated by a generation coordinator object (GCO), the GCO handles the generation of the application code in two phases, (i) extraction of data to produce generation arguments, and (ii) invocation of individual code generators tied to the generation arguments, wherein one code generator exists for each static library class and each dynamic class used by the code generation tool; compiling the code generated by the code generation tool; and executing the code generated by the code generation tool to transform input data files.
-
Specification