This section gives some elements on the inner architecture of Velosurf.
Here are the main packages of Velosurf:
velosurfcontains the Velosurf class, to be used when Velosurf is used embedded in a Java application other than a Webapp.
velosurf.cachecontains the cache (used by the
velosurf.contextcontains all the classes that are to be populated in Velocity contexts. Some of them are wrappers for internal classes (see the diagram below).
velosurf.modelcontains the classes that help modelize the data model as reverse engineered and/or specified in the XML configuration file.
velosurf.sqlcontains all the classes dealing with the database itself via jdbc.
velosurf.utilcontains various utilities and helpers.
velosurf.validationcontains all classes related to data validation.
velosurf.webcontains the two classes that can be used as Velocity-tools tools: HttpQueryTool and VelosurfTool.
velosurf.web.authcontains all classes related to authentication.
velosurf.web.l10ncontains all classes related to localization.
The next diagram shows the dependency relationships between the main classes of Velosurf. It should be a good introduction for someone willing to browse the api or to dig into the sources.
Some dependencies are not shown to lighten the diagram:
contextpackages use the
PooledPreparedStatementclass, and many use the
Databaseclass itself references many classes of the