Dynamic Java bean for visualage for Java
First Claim
1. A method of managing application definitions used in a computer program, comprisingstoring the application definitions in a relational database, each of the application definitions including an encloser, a class name and a value;
- including in the computer program instructions to access and to use the application definitions in the relational database to process data in the computer program, including using a custom editor to access the application definitions in the relational database and to pass values from the application definitions to computer applications; and
providing a user with access, independent of the computer program, to each of the application definitions in the relational database via the custom editor by providing the custom editor with the encloser and the class name of and a new value for said each application definition, to alter, change, add and delete said application definitions in the relational database without accessing the computer program; and
wherein;
the storing the application definitions in the relational database includesusing a storage method for storing the application definitions, including, for each of the application definitions, passing to the storage method an initialization string, an encloser, the value, and a new value for said each application definition, the storage method finding and deleting all matching rows in the relational database, breaking the passed initialization string into a plurality of segments, and adding a new row in the relational database for said each segment; and
the method comprises the further step of using a custom editor for the storing the applications in the relational database, and using the same custom editor to alter, change, add and delete the application definitions in the relational database while running the computer program.
1 Assignment
0 Petitions
Accused Products
Abstract
A uniform strategy for the general problem of providing custom editors and initialization strings for beans (all “dynabeans” inherit from a common bean class that incorporates this strategy. This is then extended to allow the initialization strings to be stored in a relational database. The database function is an extension of the function provided by the VisualAge Persistence Builder (using some of the EADP extensions). An important advantage of this approach is that many changes to the application can now be handled by adjusting the database version of the bean definition, without a need to touch the underlying code. This will reduce down time for the application, and also improve application stability.
-
Citations
6 Claims
-
1. A method of managing application definitions used in a computer program, comprising
storing the application definitions in a relational database, each of the application definitions including an encloser, a class name and a value; -
including in the computer program instructions to access and to use the application definitions in the relational database to process data in the computer program, including using a custom editor to access the application definitions in the relational database and to pass values from the application definitions to computer applications; and providing a user with access, independent of the computer program, to each of the application definitions in the relational database via the custom editor by providing the custom editor with the encloser and the class name of and a new value for said each application definition, to alter, change, add and delete said application definitions in the relational database without accessing the computer program; and
wherein;the storing the application definitions in the relational database includes using a storage method for storing the application definitions, including, for each of the application definitions, passing to the storage method an initialization string, an encloser, the value, and a new value for said each application definition, the storage method finding and deleting all matching rows in the relational database, breaking the passed initialization string into a plurality of segments, and adding a new row in the relational database for said each segment; and the method comprises the further step of using a custom editor for the storing the applications in the relational database, and using the same custom editor to alter, change, add and delete the application definitions in the relational database while running the computer program. - View Dependent Claims (2, 3, 4, 5, 6)
-
Specification