IP Library › Granted Patent US 7,475,388
Granted Patent B2
US 7,475,388 · App. 11/004,284 · Granted Jan 6, 2009

Method and apparatus for defining and instrumenting reusable java server page code snippets for website testing and production

Assignee: International Business Machines Corporation
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 7,475,388
App. No.
11/004,284
Granted
Jan 6, 2009
Kind
B2
Abstract

Reusable JSP code snippets are defined and instrumented for Website testing and production. A user may define tile definitions in a markup language file for a number of JSP code snippets to be included in a store page. Upon receiving store inputs comprising tile definitions and jar files for the features, tables may be generated that map features to stores and features dependencies to features. Based on the tables, the store inputs may be validated. If no error occurs, run time files may be generated and JSP code snippets may be instrumented to the appropriate location for Website testing and production.

Claims (39)

1. A method in a data processing system for defining and instrumenting reusable code snippets, the method comprising:

defining a set of features for a Website in a first markup language file;

defining at least one code snippet to be included in each feature within the set of features in the first markup file;

generating at least one mapping table in response to receiving a user request comprising store inputs;

validating the store inputs using the at least one mapping table; and

deploying at least one run time file for the Website, wherein

the store inputs comprise the first markup language file in which the set of features for the Website is defined and a jar file for each feature within the set of features defined in the first markup language file,

the first markup language file comprises a file directory on the data processing system representing a store directory, and a store identifier for the Website,

the jar file comprises a second markup language file, at least one Java server page file, and at least one properties file, for each feature within the set of features defined,

the generating at least one mapping table in response to receiving a user request comprising store inputs comprises:

generating a first table that maps the set of features to at least one Website; and

generating a second table that maps at least one feature dependency to at least one feature of the set of features, wherein the at least one feature dependency is a feature which the at least one feature depends on.

2. A data processing system comprising:

a bus;

a memory operably connected to the bus;

a processor unit operably connected to the bus;

a computer storage medium for defining and instrumenting reusable code snippets, the computer storage medium having stored therein computer readable program instructions, which when executed, cause the data processing system to perform the operations comprising:

defining a set of features for a Website in a first markup language file; and

defining at least one code snippet to be included in each feature within the set of features in the first markup file;

generating at least one mapping table in response to receiving a user request comprising store inputs;

validating the store inputs using the at least one mapping table; and

deploying at least one run time file for the Website, wherein the store inputs comprise the first markup language file in which the set of features for the Website is defined and a jar file for each feature within the set of features defined in the first markup language file,

the first markup language file comprises a file directory _on the data processing system representing a store directory, and a store identifier for the Website,

the jar file comprises a second markup language file, at least one Java server page file, and at least one properties file, for each feature within the set of features defined,

the generating at least one mapping table in response to receiving a user request comprising store inputs comprises:

generating a first table that maps the set of features to at least one Website; and

generating a second table that maps at least one feature dependency to at least one feature of the set of features, wherein the at least one feature dependency is a feature which the at least one feature depends on.

3. A computer storage medium for defining and instrumenting reusable code snippets, the computer storage medium having stored therein computer readable program instructions, which when executed, cause a data processing system to perform the operations comprising:

defining a set of features for a Website in a first markup language file;

defining at least one code snippet to be included in each feature within the set of features in the first markup file;

generating at least one mapping table in response to receiving a user request comprising store inputs;

validating the store inputs using the at least one mapping table; and

deploying at least one run time file for the Website, wherein

the store inputs comprise the first markup language file in which the set of features for the Website is defined and a jar file for each feature within the set of features defined in the first markup language file,

the first markup language file comprises a file directory on the data processing system representing a store directory, and a store identifier for the Website,

the jar file comprises a second markup language file, at least one Java server page file, and at least one properties file, for each feature within the set of features defined,

the generating at least one mapping table in response to receiving a user request comprising store inputs comprises:

generating a first table that maps the set of features to at least one Website; and

generating a second table that maps at least one feature dependency to at least one feature of the set of features, wherein the at least one feature dependency is a feature which the at least one feature depends on.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 22, 2004
From: FONG, JAMES LEONARD TIMOTHY; NG, WALFREY; TIN, RAMIAH KWOK-FAI
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 015480/0722 →
Continuity (1)
Related Publication 20060123028A1 · Jun 8, 2006