J2EE.2.5 Platform Contracts


This section describes the Java 2 Platform, Enterprise Edition contracts that must be fulfilled by the J2EE product provider.

J2EE.2.5.1 J2EE API

The J2EE API defines the contract between the J2EE application components and the J2EE platform. The contract specifies both the runtime and deployment interfaces.

The J2EE product provider has the obligation to implement the J2EE APIs in a way that supports the semantics and policies described in this specification. The application component provider has the obligation to provide components that will conform to these APIs and policies.

J2EE.2.5.2 Network Protocols

This specification defines the mapping of the application components to industry-standard network protocols. The mapping allows client access to the application components from systems that have not installed J2EE product specific technology. See Chapter J2EE.7, "Interoperability," for details on the network protocol support required for interoperability.

The J2EE product provider is required to publish the installed application components on the industry-standard protocols. This specification defines the mapping of servlets and JSP pages to the HTTP and HTTPS protocols, and the (optional) mapping of EJB to IIOP. A future version of this specification will require that enterprise beans be accessible through the IIOP protocol.

J2EE.2.5.3 Deployment Descriptors

Deployment descriptors are used to communicate the needs of application components to the deployer. The deployment descriptor is a contract between the application component provider or assembler and the deployer. The application component provider or assembler is required to specify the application component's external resource requirements, security requirements, environment parameters, etc. in the component's deployment descriptor. The J2EE product provider is required to provide a deployment tool that interprets the J2EE deployment descriptors and allows the deployer to map the application component's requirements to the capabilities of a specific J2EE product and environment.



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