Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The Data Info code is used to define the data provided by a web application, its grouping in a navigation tree and the linking between different web applications. All the data, grouping and linking information is stored in the glastgen database.

Beans, Filter and Tag Files

The code provides a set of classes to read/update the database and a set of beans to easily access this data in a JSP environment.
The beans are added to each of the application's sessions via a filter that is meant to be added to the application. The filter also adds additional functionality for saving/loading information via xml files.
Finally we provide a set of tag files containing forms to view/edit the data, grouping and linking information. These tag files can be easily embedded in web applications.

Three beans are available, one for each of the data operations provided: Info, Grouping and Linking.

Filter

The filter creates a new set of application specific beans every time an application is deployed (in the init(FilterConfig) method). To do this it requires the application initialization parameter containing the name of the application as it appears in the Applications table below.

When the doFilter method is invoked for a new session the static beans are added to the session's scope.

Database Overview

The following set of database tables are used by the Data Info code.

...