P
US7475388B2ExpiredUtilityPatentIndex 86

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

Assignee: IBMPriority: Dec 3, 2004Filed: Dec 3, 2004Granted: Jan 6, 2009
Est. expiryDec 3, 2024(expired)· nominal 20-yr term from priority
Inventors:FONG JAMES LEONARD TIMOTHYNG WALFREYTIN RAMIAH KWOK-FAIYUEN KIMPING
G06F 11/362
86
PatentIndex Score
16
Cited by
18
References
3
Claims

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

exact text as granted — not AI-modified
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.

Cited by (0)

No later patents cite this yet.

References (0)

No backward citations on record.