Method, computer program product, and system for automatic class generation with simultaneous customization and interchange capability
AssigneeInternational Business Machines Corporation
InventorsDouglas Michael Frederick Hembry, Christopher M. Holtz, Robert Daniel Love
Life of this patent
Estimating the term…
Abstract
A database definition, logical database view, extended field definition and control statement information are accessed to build an in-memory representation of selective information contained therein. Utilizing this in-memory representation, a class in one form is automatically generated and customized wherein this class is used to access a hierarchical database responsive to a hierarchical database access request from an application.
Claims37
A computer implemented method for automatically generating and customizing a class to facilitate access to a hierarchical database from an application comprising the steps of:
- (a) accessing a database definition;
- (b) accessing a logical database view;
- (c) accessing an extended field definition;
- (d) accessing control statement information;
- (e) building an in-memory representation of selective information obtained from steps (a) through (d);
- and
- (f) automatically generating and customizing said class in a first form utilizing said in-memory representation wherein said class is used to access said hierarchical database responsive to a hierarchical database access request from a first application.
A computer system for automatically generating and customizing a class to facilitate access to a hierarchical database from an application, said computer system comprising:
- (a) a computer;
- (b) means for accessing a database definition;
- (c) means for accessing a logical database view;
- (d) means for accessing an extended field definition;
- (e) means for accessing control statement information;
- (f) means for building an in-memory representation of selective information utilizing (b) through (e);
- and
- (g) means for automatically generating and customizing said class in a first form utilizing said in-memory representation wherein said class is used to access said hierarchical database responsive to a hierarchical database access request from a first application.
An article of manufacture for use in a computer system tangibly embodying computer instructions executable by said computer system to perform process steps for automatically generating and customizing a class to facilitate access to a hierarchical database from an application comprising the steps of:
- (a) accessing a database definition;
- (b) accessing a logical database view;
- (c) accessing an extended field definition;
- (d) accessing control statement information;
- (e) building an in-memory representation of selective information obtained from steps (a) through (d);
- and
- (f) automatically generating and customizing said class in a first form utilizing said in-memory representation wherein said class is used to access said hierarchical database responsive to a hierarchical database access request from a first application.
A method for accessing on a computer system a hierarchical database from a Java application, comprising the steps of:
- invoking a class integrator utility program to automatically generate and customize one or more classes wherein said one or more classes encapsulate information from at least one database definition, at least one logical database view, at least one extended field definition and at least one control statement;
- and
- invoking from said Java application an API to access said hierarchical database, wherein, responsive to said API invocation, said one or more classes are utilized to access said hierarchical database.
Dependencies are inferred from the claim text.