IP Library › Granted Patent US 8,856,806
Granted Patent B2
US 8,856,806 · App. 13/754,107 · Granted Oct 7, 2014

Dynamic Java bean for visualage for Java

Inventor: James R. Wason (Tuxedo Park, NY)
Assignee: International Business Machines Corporation
G06F9/44505
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,856,806
App. No.
13/754,107
Granted
Oct 7, 2014
Kind
B2
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.

Claims (24)

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.

2. A method according to claim 1 , wherein the storing step includes the steps of:

storing in the database initialization strings for the definitions; and

customizing the initialization strings to form the definitions.

3. A method according to claim 2 , further comprising the step of initializing values used in the computer program, using the initialization strings in the database.

4. The method according to claim 1 , wherein the relational database includes a plurality of rows having the class names, and the providing the user with access to the application definitions includes:

setting up a query string with one of the class names and one of the values;

finding all the rows in the relational database that match said one of the class names and said one of the values to identify an initialization string having string values; and

iterating over the found rows and concatenating the string values to create database versions of the initialization string.

5. The method according to claim 1 , wherein the storing the application definitions in a relational database includes:

obtaining an initialization string;

breaking the initialization string into a multitude of segments; and

adding a new row in the relational database for each of said multitude of segments.

6. The method according to claim 1 , wherein

each of the application definitions is associated with a respective one pair comprised of an encloser and the value of said each application definition; and

the method further comprises

displaying a custom edit panel to the user; and

the user using the custom edit panel to change the application definition associated with the selected pair.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 26, 2014
From: WASON, JAMES R.
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 033184/0979 →
Continuity (3)
Continuation 11273520 · Nov 14, 2005
Continuation 09615973 · Jul 14, 2000
Related Publication 20130145342A1 · Jun 6, 2013