This section contains information for the Web Application programmer; that is, the person in charge of developing the web components on the server side.
The Chapter 16 Developing Web Components guide explains how to construct Web components, as well as how to access Enterprise Beans from within the Web Components.
Deployment descriptor specification is presented in Chapter 17 Defining the Web Deployment Descriptor.
Web components can be used as Web application components or as J2EE application components. In both cases, a WAR file will be created, but the content of this file is different in the two situations. In the first case, the WAR contains the Web components and the Enterprise Beans. In the second case, the WAR does not contain the Enterprise Beans. The EJB JAR file containing the Enterprise Beans is packed together with the WAR file containing the Web components, into an EAR file.
Principles and tools for providing WAR files are presented in Chapter 18 WAR Packaging and Chapter 15 Application Deployment and Installation Guide.