Method of managing application definitions used in a computer program
First Claim
Patent Images
1. A method of managing application definitions used in a computer program, comprising the steps:
- establishing a relational database separate from the computer program;
storing the application definitions in the relational database, wherein each of the application definitions is a set of rules for processing or storing data in the computer program;
including in the computer program instructions to access and to use the application definitions in the relational database;
providing a first user with access, independent of the computer program, to the application definitions in the relational database, whereby the first user has access to alter, change, add and delete said application definitions in the relational database, without accessing the computer program; and
enabling a second user, while running the computer program, to alter, change, add and delete the application definitions in the relational database without accessing the computer program;
wherein each of the application definitions includes an encloser and a value, and each of the enclosers has a class name; and
wherein;
the including in the computer program instructions to access and to use the application definitions in the relational database includesproviding a given procedure to access the application definitions, andpassing to the given procedure one of the class names and one of the values;
said given procedure uses said one of the class names and said one of the values as keys to access one of the application definitions in the relational database; and
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, the 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.
0 Assignments
0 Petitions
Accused Products
Abstract
A uniform strategy for the general problem of providing customer 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. With this approach, many changes to the application can be handled by adjusting the database version of the bean definition, without a need to touch the underlying code. This reduces down time for the application, and also improves application stability.
-
Citations
6 Claims
-
1. A method of managing application definitions used in a computer program, comprising the steps:
-
establishing a relational database separate from the computer program; storing the application definitions in the relational database, wherein each of the application definitions is a set of rules for processing or storing data in the computer program; including in the computer program instructions to access and to use the application definitions in the relational database; providing a first user with access, independent of the computer program, to the application definitions in the relational database, whereby the first user has access to alter, change, add and delete said application definitions in the relational database, without accessing the computer program; and enabling a second user, while running the computer program, to alter, change, add and delete the application definitions in the relational database without accessing the computer program; wherein each of the application definitions includes an encloser and a value, and each of the enclosers has a class name; and
wherein;the including in the computer program instructions to access and to use the application definitions in the relational database includes providing a given procedure to access the application definitions, and passing to the given procedure one of the class names and one of the values; said given procedure uses said one of the class names and said one of the values as keys to access one of the application definitions in the relational database; and 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, the 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. - View Dependent Claims (2, 3, 4)
-
-
5. A computer system for managing application definitions used in a computer program, the computer system comprising:
-
a relational database separate from the computer program and storing a plurality of application definitions, and wherein the computer program includes instructions to access and to use the application definitions in the relational database; and one or more hardware processing units configured for providing a first user of the computer program with access, independent of the computer program, to the application definitions in the relational database, whereby the first user has access to alter, change, add and delete said application definitions in the relational database, without accessing the computer program, and a second user is enabled, while running the computer program, to alter, change, add and delete the application definitions in the relational database without accessing the computer program; wherein each of the application definitions includes an encloser and a value, and each of the enclosers has a class name; and
whereinthe including in the computer program instructions to access and to use the application definitions in the relational database includes providing a given procedure to access the application definitions, and passing to the given procedure one of the class names and one of the values; said given procedure uses said one of the class names and said one of the values as keys to access one of the application definitions in the relational database; and 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, the 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.
-
-
6. A program storage device readable by a computer, tangibly embodying a program of instructions executable by the computer for managing application definitions used in a computer program, said program of instructions, when executed in the computer, performing the following:
-
establishing a relational database separate from the computer program; storing the application definitions in the relational database; including in the computer program instructions to access and to use the application definitions in the relational database; providing a first user with access, independent of the computer program, to the application definitions in the relational database, whereby the first user has access to alter, change, add and delete said application definitions in the relational database, without accessing the computer program; and enabling a second user to alter, change, add and delete the application definitions in the relational database without accessing the computer program and while running the computer program; wherein each of the application definitions includes an encloser and a value, and each of the enclosers has a class name; and
wherein;the including in the computer program instructions to access and to use the application definitions in the relational database includes providing a given procedure to access the application definitions, and passing to the given procedure one of the class names and one of the values; said given procedure uses said one of the class names and said one of the values as keys to access one of the application definitions in the relational database; and 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, the 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.
-
Specification