Browse Prior Art Database

Generating a caching module within a development toolkit

IP.com Disclosure Number: IPCOM000021027D
Original Publication Date: 2003-Dec-17
Included in the Prior Art Database: 2003-Dec-17
Document File: 3 page(s) / 85K

Publishing Venue

IBM

Abstract

Disclosed is a feature for automatically generating a caching module within a development toolkit. Developers often need to develop code for a caching module. The kind of data stored in a cache varies according to the application. However, standard algorithms are used to create the structure of the cache. For example, hash tables may be used to implement the cache. This hash table can be created automatically by the development toolkit.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 58% of the total text.

Page 1 of 3

Generating a caching module within a development toolkit

Various wizards exist today within a development toolkit that automatically generates code to do various things, i.e. generate code for a web service, create a project workspace, skeleton code around which developers add their own code. Currently, developers have to manually code a cache which takes considerable time. Disclosed is a dialog based wizard to produce skeleton code for various cache types.

A developer selects from a menu an option which prompts the users to select a cache type. The user is prompted for the associated parameters necessary to develop the module. The user will be provided with a choice of algorithms, memory management options, the kind of structures to be used for the cache data etc. Known cache types could be programmatically produced based on the feedback provided by the user. This will reduce the development time and ensure that the code generated is free from errors and is optimized for the application. The user's perspective is explained using the flowchart in Figure 1:

Start

Figure 1: Flowchart of the user's perspective

This feature can be incorporated in any Integrated Development Environment (IDE) as shown in Figure 2. For example, the feature could be added to the WebSphere Studio Application Developer* tool for Java** applications.

   S elect project nam e, other p aram eters (create a w o rk sp ace)

S elect "g en erate cach e" fu n ctio n fro m the "T ools" m enu

E n te r p...