SRV.2.2 Roles


The following roles are defined to aid in identifying the actions and responsibilities taken by various parties during the development, deployment, and running of a servlet based application. In some scenarios, a single party may perform several roles; in others, each role may be performed by a different party.

SRV.2.2.1 Application Developer

The application developer is the producer of a web based application. His or her output is a set of servlet classes, JSP pages, HTML pages, and supporting libraries and files (such as images, compressed archive files, etc.) for the web application. The application developer is typically an application domain expert. The developer is required to be aware of the servlet environment and its consequences when programming, including concurrency considerations, and create the web application accordingly .

SRV.2.2.2 Application Assembler

The application assembler takes the work done by the developer and ensures that it is a deployable unit. The input of the application assembler is the servlet classes, JSP pages, HTML pages, and other supporting libraries and files for the web application. The output of the application assembler is a web application archive or a web application in an open directory structure.

SRV.2.2.3 Deployer

The deployer takes one or more web application archive files or other directory structures provided by an application developer and deploys the application into a specific operational environment. The operational environment includes a specific servlet container and web server. The deployer must resolve all the external dependencies declared by the developer. To perform his role, the deployer uses tools provided by the servlet container.

The deployer is an expert in a specific operational environment. For example, the deployer is responsible for mapping the security roles defined by the application developer to the user groups and accounts that exist in the operational environment where the web application is deployed.

SRV.2.2.4 System Administrator

The system administrator is responsible for the configuration and administration of the servlet container and web server. The administrator is also responsible for overseeing the well-being of the deployed web applications at runtime.

This specification does not define the contracts for system management and administration. The administrator typically uses runtime monitoring and management tools provided by the container provider and server vendors to accomplish these tasks .

SRV.2.2.5 Servlet Container Provider

The servlet container provider is responsible for providing the runtime environment, namely the servlet container and possibly the web server, in which a web application runs as well as the tools necessary to deploy web applications.

The expertise of the container provider is in HTTP level programming. Since this specification does not specify the interface between the web server and the servlet container, it is left to the container provider to split the implementation of the required functionality between the container and the server.



Java 2 Platform, Enterprise Edition. Platform and Component Specifications
Java 2 Platform, Enterprise Edition: Platform and Component Specifications
ISBN: 0201704560
EAN: 2147483647
Year: 2000
Pages: 399

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net