Dynamic Java bean for visualage for Java
First Claim
1. A method of managing application definitions used in a computer application, comprising:
- storing initialization strings for the application definitions in a database, wherein each of the initialization strings is broken into a number of segments of predetermined length for storage in the database, and each of the initialization strings includes an associated hook;
using the initialization strings in the database to initialize the application definitions in the database, each of the application definitions using associated values, and each of the initialization strings including a value for an associated application definition;
providing a custom editor to access the initialization strings in the database to use the initialization strings to change the application definitions;
running the computer application;
while the computer application is running, the computer application accessing the application definitions in the database to use values from the application definitions, and the computer application using the custom editor to access the initialization strings in the database to change the values in the application definitions, wherein accessing the initialization strings includes invoking the associated hooks; and
while the computer application is running, an administrator using the custom editor to access the initialization strings in the database, independent of the computer application, to use the initialization strings to change the values of the application definitions, whereby the values in the application definitions are changed without changing the computer application.
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
15 Claims
-
1. A method of managing application definitions used in a computer application, comprising:
-
storing initialization strings for the application definitions in a database, wherein each of the initialization strings is broken into a number of segments of predetermined length for storage in the database, and each of the initialization strings includes an associated hook; using the initialization strings in the database to initialize the application definitions in the database, each of the application definitions using associated values, and each of the initialization strings including a value for an associated application definition; providing a custom editor to access the initialization strings in the database to use the initialization strings to change the application definitions; running the computer application; while the computer application is running, the computer application accessing the application definitions in the database to use values from the application definitions, and the computer application using the custom editor to access the initialization strings in the database to change the values in the application definitions, wherein accessing the initialization strings includes invoking the associated hooks; and while the computer application is running, an administrator using the custom editor to access the initialization strings in the database, independent of the computer application, to use the initialization strings to change the values of the application definitions, whereby the values in the application definitions are changed without changing the computer application. - View Dependent Claims (2, 3, 4, 5, 6, 14, 15)
-
-
7. A computer system for managing application definitions used in a computer application, the computer system comprising:
-
a relational database storing a plurality of initialization strings for initializing the application definitions in the relational database, wherein each of the initialization strings is broken into a number of segments of predetermined length for storage in the database, and each of the initialization strings includes an associated hook, each of the application definitions using associated values, and each of the initialization strings including an encloser, a class name, and a value for an associated application definition; and
wherein the computer application includes instructions to access the application definitions to use values from the application definition; and
while the computer application is running, the computer application uses a custom editor to access the initialization strings to change values in the application definitions, wherein accessing the initialization strings includes invoking the associated hooks; andone or more processing units configured for using the custom editor to give an administrator with access, while the computer application is running, to the initialization strings in the relational data base by providing the custom editor with the encloser and the class name of and a new value for said each of the initialization strings, to use the initialization strings to alter, change, add and delete said application definitions in the relational database, without accessing the computer program. - View Dependent Claims (8, 9, 10)
-
-
11. A program storage hardware device readable by computer, tangibly embodying a program of instructions executable by the computer for managing application definitions used in a computer application, said program of instructions, when executing on the computer, performing the following:
-
storing initialization strings for the application definitions in a relational database, wherein each of the initialization strings is broken into a number of segments of predetermined length for storage in the database, and each of the initialization strings includes an associated hook; using the initialization strings in the database to initialize the application definitions in the relational database, each of the initialization strings including an encloser, a class name and a value; providing a custom editor to access the initialization strings in the database to use the initialization strings to change the application definitions; running the computer application; while the computer application is running, the computer application accessing the application definitions the database to use values from the application definitions, and using the custom editor to access the initialization strings in the database to use the initialization strings to change the values in the application definitions, wherein accessing the initialization strings includes invoking the associated hooks; and while the computer application is running, using the custom editor to provide an administrator with access to the initialization strings in the relational database, independent of the computer application, by providing the custom editor with the encloser and the class name of and a new value for said each application, to use the initialization strings to alter, change, add and delete said application definitions in the relational database without accessing the computer application. - View Dependent Claims (12, 13)
-
Specification