System and method for generating and reusing software application code with source definition files
First Claim
Patent Images
1. A method of generating and reusing software application code with source definition files, comprising the steps of:
- receiving one or more source definition files, each of which includes annotations therein defining one or a plurality of software objects to be generated, wherein the annotations optionally include variables and values associated therewith for further defining the software object;
parsing the one or more source definition files, includingcomparing the annotations with an annotation library that specifies required and optional parameters for each annotation, to validate the annotations, andcomparing any provided variables and values with a variables library that specifies permissible values for each variable; and
generating classes for the one or a plurality of software objects in accordance with the validated annotations and provided variables and values, including generating a remote class, a home class, and at least one deployment descriptor based on the description of the one or a plurality of software objects, such that a change to the source definition file is propagated to the remote class, home class and deployment descriptor;
subsequently receiving software application code as input files which include modified class definitions for the one or a plurality of software objects;
examining information in the input files to identify which annotations from the annotation library and the variables library adequately describe the software objects, includingselecting annotations from the annotation library that adequately match the class structure, class relationships and deployment, anddetermining optional variables and values from the variables library that adequately match the class structure, class relationships and deployment; and
generating a new source definition file which includes the annotations and the optional variables defining the input files.
2 Assignments
0 Petitions
Accused Products
Abstract
A system and method for generating code for an Enterprise Java Bean comprising generating at least one output based on a description of at least one Enterprise Java Bean, wherein the description is attended by at least one annotation. A system and method for generating an annotated description of an Enterprise Java Bean based on at least one input, wherein the description can be used to generate the at least one input.
69 Citations
12 Claims
-
1. A method of generating and reusing software application code with source definition files, comprising the steps of:
-
receiving one or more source definition files, each of which includes annotations therein defining one or a plurality of software objects to be generated, wherein the annotations optionally include variables and values associated therewith for further defining the software object; parsing the one or more source definition files, including comparing the annotations with an annotation library that specifies required and optional parameters for each annotation, to validate the annotations, and comparing any provided variables and values with a variables library that specifies permissible values for each variable; and generating classes for the one or a plurality of software objects in accordance with the validated annotations and provided variables and values, including generating a remote class, a home class, and at least one deployment descriptor based on the description of the one or a plurality of software objects, such that a change to the source definition file is propagated to the remote class, home class and deployment descriptor; subsequently receiving software application code as input files which include modified class definitions for the one or a plurality of software objects; examining information in the input files to identify which annotations from the annotation library and the variables library adequately describe the software objects, including selecting annotations from the annotation library that adequately match the class structure, class relationships and deployment, and determining optional variables and values from the variables library that adequately match the class structure, class relationships and deployment; and generating a new source definition file which includes the annotations and the optional variables defining the input files. - View Dependent Claims (2, 3, 4)
-
-
5. A system for generating and reusing software application code from source definition files, comprising:
-
a computer including a graphical user interface for receiving one or more source definition files, each of which includes annotations therein defining one or a plurality of software objects to be generated, wherein the annotations optionally include variables and values associated therewith for further defining the software object; an annotation library that specifies required and optional parameters for each annotation; a variables library that specifies permissible values for each variable; logic for parsing the one or more source definition files, including comparing the annotations with the annotation library that specifies required and optional parameters for each annotation, to validate the annotations, and comparing any provided variables and values with the variables library that specifies permissible values for each variable; logic for generating classes for the one or a plurality of software objects in accordance with the validated annotations and provided variables and values, including generating a remote class, a home class and at least one deployment descriptor based on the description of the one or a plurality of software objects such that a change to the source definition file is propagated to the remote class, home class and deployment descriptor; and logic for subsequently receiving software application code as input files which include modified class definitions for the one or a plurality of software objects, and generating a new source definition file defining the input files, including examining information in the input files to identify which annotations from the annotation library and the variables library adequately describe the software objects, including selecting annotations from the annotation library that adequately match the class structure, class relationships and deployment, and determining optional variables and values from the variables library that adequately match the class structure, class relationships and deployment, and generating a new source definition file which includes the annotations and the optional variables defining the input files. - View Dependent Claims (6, 7, 8)
-
-
9. A computer readable medium, including instructions stored thereon which, when read and executed by a computer, cause the computer to perform the steps comprising:
-
receiving one or more source definition files, each of which includes annotations therein defining one or a plurality of software objects to be generated, wherein the annotations optionally include variables and values associated therewith for further defining the software object; parsing the one or more source definition files, including comparing the annotations with an annotation library that specifies required and optional parameters for each annotation, to validate the annotations, and comparing any provided variables and values with a variables library that specifies permissible values for each variable; and generating classes for the one or a plurality of software objects in accordance with the validated annotations and provided variables and values, including generating a remote class, a home class and at least one deployment descriptor based on the description of the one or a plurality of software objects such that a change to the source definition file is propagated to the remote class, home class and deployment descriptor; subsequently receiving software application code as input files which include modified class definitions for the one or a plurality of software objects; examining information in the input files to identify which annotations from the annotation library and the variables library adequately describe the software objects, including selecting annotations from the annotation library that adequately match the class structure, class relationships and deployment, and determining optional variables and values from the variables library that adequately match the class structure, class relationships and deployment; and generating a new source definition file which includes the annotations and the optional variables defining the input files. - View Dependent Claims (10, 11, 12)
-
Specification