×

Object oriented structured query language (OOSQL) support for Enterprise Java Beans

  • US 7,631,293 B2
  • Filed: 07/11/2005
  • Issued: 12/08/2009
  • Est. Priority Date: 08/31/2000
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer-implemented method for generating automatically computer program code for implementing custom finder methods in a reusable application component, wherein the reusable application component includes a home interface specifying custom finder methods for finding instances of the reusable application component and wherein the custom finder methods are defined by finder method parameters but wherein queries to be evaluated for implementing the custom finder methods to find instances of the reusable application component in a database are not specified, the method comprising:

  • receiving the home interface as an input;

    introspecting the home interface to identify the custom finder methods in the home interface;

    invoking a finder helper class generator for generating source code for a finder helper class for the reusable application component, including generating skeleton structure source code for finder helper class methods for the finder helper class by, for each identified custom finder method;

    identifying the finder method parameters of the custom finder method,emitting a first line of code for the finder helper class method that accepts the same finder method parameters as the custom finder method, andemitting a second line of code for the finder helper class method that defines in skeleton form a query to be evaluated and performed to find instances of the reusable application component in a database, wherein the query to be evaluated is implemented by customizing the finder helper class method based on a return parameter requirement for a type of query indicated by the custom finder method, the second line of code in skeleton form including a place holder including a comment indicating where a query string defining the query to be evaluated and to be performed is to be placed in the second line of code by a programmer when the source code is deployed; and

    saving the source code for the finder helper class to an output file for use by a programmer for software development.

View all claims
  • 0 Assignments
Timeline View
Assignment View
    ×
    ×