How are the Sun ONE Application Framework applications structured?
The Sun ONE Application Framework applications are fully independent entities comprised of one or more modules. Each module is a functional slice or logical grouping of the overall application. At least one module is required in an application, but other modules are optional and can be added at any time. Each Sun ONE Application Framework application defines what is called the application servlet, which is the base class from which all module-specific servlets are expected to derive. Only the module servlets are accessed by clients of the application. The application servlet serves only as a common base class for the module servlets, providing the opportunity to consolidate common application-level event handlers in a single class. Module servlets allow for module-only specialization of these events. Together, these servlets form the request handling infrastructure of each Sun ONE Application Framework application. Each module corresponds to a sub-package of the application, and in add