US2008155500A1PendingUtilityA1

Method for automatic generation of schema mapping application code

Assignee: IBMPriority: Dec 22, 2006Filed: Dec 22, 2006Published: Jun 26, 2008
Est. expiryDec 22, 2026(~0.4 yrs left)· nominal 20-yr term from priority
G06F 8/00G06F 8/24G06F 9/44505
47
PatentIndex Score
0
Cited by
0
References
0
Claims

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.

Claims

exact text as granted — not AI-modified
1 - 12 . (canceled) 
   
   
       13 . A method for automatic generation of schema mapping application code, including:
 loading a code generation tool with source and target schemas;   defining the mapping specification between the source and the target;   triggering the code generation tool;   compiling the generated code; and   executing the generated code to transform input data files;   wherein the code generation tool is triggered by selecting a code generation menu item;   wherein when the code generation menu item is selected a code generation options dialog is displayed for allowing the user to control aspects of the code generation process;   wherein the user is allowed to specify the file system directory where generated files will be saved;   wherein the user is allowed to turn off generation of particular application implementation files;   wherein the user is allowed to customize the generated application by at least one of, (a) hand, and by (b) 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;   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 either schema nor map specification for any particular generated application, the implementation and quantity of the dynamic classes being dependent upon the schemas and the particular map specification that the code generation tool will generate at least one of, (i) a custom application to implement, (ii) a web service implementation, and (iii) a software component;   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 configured to read in the source and target schemas along with the mapping specification and construct data structures in memory to represent the schemas and the mapping specification;   wherein the code generation process 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;   wherein one code generator exists for each type of class that is generated by the code generation tool.

Join the waitlist — get patent alerts

Track US2008155500A1 — get alerts on status changes and closely related new filings.

We store only your email — no account needed. See our privacy policy.