System and method for communicating between an application and a database
First Claim
1. A computer readable medium having stored thereon a plurality of instructions, the plurality of instructions including instructions which, when executed by a computer, cause the computer to perform steps of a method for enabling a databinding framework for communicating between an application and a database, said method comprising the steps of:
- 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 table, generates value objects (VO) from the metadata table and generates at least one XML binding definition from the metadata table; and
integrating the generated code of the stored procedures to the VOs via the 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
17 Claims
-
1. A computer readable medium having stored thereon a plurality of instructions, the plurality of instructions including instructions which, when executed by a computer, cause the computer to perform steps of a method for enabling a databinding framework for communicating between an application and a database, said method comprising the steps of:
-
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 table, generates value objects (VO) from the metadata table and generates at least one XML binding definition from the metadata table; and integrating the generated code of the stored procedures to the VOs via the XML binding definitions into the application when the application is run. - View Dependent Claims (4, 5)
-
- 2. The computer readable medium of claim l further comprising generating a second code of Data Access Objects (DAOs).
-
6. A computer-implemented system for communicating between an application and a database, the system comprising:
-
a code generator to generate 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 table, generates value objects (VO) from the metadata table and generates at least one XML binding definition from the metadata table; and at least one run-time component coupled to the code generator to integrate the generated code of the stored procedures to the VOs via the XML binding definitions into the application when the application is run. - View Dependent Claims (7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17)
-
Specification