Method For Simplifying Databinding In Application Programs
First Claim
1. A computer readable medium for enabling a databinding framework for communicating between an application and a database, comprising:
- a code generator for generating a code of databinding files to bind data of the database to a program of the application wherein said code identifies tables to persist the data in the database, wherein said code generates a table of metadata from the identified tables, wherein said code generates stored procedures from the metadata, generates value objects (VO) from the metadata and generates at least one XML binding definition from the metadata table; and
at least one run-time component coupled to the code generator for integrating the generated code of the stored procedures, VOs, and XML binding definitions into the application when the application is run.
1 Assignment
0 Petitions
Accused Products
Abstract
A method for communicating between an application and a database by using a lightweight stored procedure data-binding framework for applications written in object oriented programming languages such as JAVA, significantly reduces the coding effort required to communicate with a relational database. Once the developer specifies the needed tabular data, the inventive framework generates all needed data objects and stored procedures to accomplish the interaction with that database data. The automatically generated code is then used by the application via a run-time component. This means the developer need only make simple calls in a few lines of code for database interaction. The encapsulated data model deals only with persistence and retrieval issues and is therefore de-coupled from the business model.
-
Citations
18 Claims
-
1. A computer readable medium for enabling a databinding framework for communicating between an application and a database, comprising:
-
a code generator for generating a code of databinding files to bind data of the database to a program of the application wherein said code identifies tables to persist the data in the database, wherein said code generates a table of metadata from the identified tables, wherein said code generates stored procedures from the metadata, generates value objects (VO) from the metadata and generates at least one XML binding definition from the metadata table; and
at least one run-time component coupled to the code generator for integrating the generated code of the stored procedures, VOs, and XML binding definitions into the application when the application is run. - View Dependent Claims (2, 3, 4)
-
-
5. A system for communicating between an application and a database, the system comprising:
-
means for generating a code of databinding files to bind data of the database to a program of the application wherein said code identifies tables to persist the data in the database, wherein said code generates a table of metadata from the identified tables, wherein said code generates stored procedures from the metadata, generates value objects (VO) from the metadata and generates at least one XML binding definition from the metadata table; and
means for integrating the generated code of the stored procedures, VOs, and XML binding definitions into the application when the application is run. - View Dependent Claims (6, 7)
-
-
8. A method of communicating between an application and a database comprising the steps of:
-
providing a database having data;
providing an application program;
identifying required data from the database data;
providing a databinding framework;
generating databinding files to bind the required data of the database data to the application program; and
providing a run-time component to integrate the generated databinding files into the application when the application is run. - View Dependent Claims (9, 10, 11, 12, 13, 14, 15, 16, 17, 18)
-
Specification