天天看点

Java™ Platform, Enterprise Edition (Java EE) Specification, v6(5)

C H A P T E R EE.2

第 EE.2 章

Platform Overview

平台概述

<b>T</b>his chapter provides an overview of the Java? Platform, Enterprise Edition ( Java EE? ).

本章将从整体上讲述Java 平台企业版

<b>EE.2.1 Architecture</b>

EE.2.1 架构

The required relationships of architectural elements of the Java EE platform are shown in <b>Figure EE.2-1</b>. Note that this figure shows the logical relationships of the elements; it is not meant to imply a physical partitioning of the elements into separate machines, processes, address spaces, or virtual machines.

Java EE平台中架构元素的需求关系展示在图EE.2-1中。注意,这个图展示的是元素之间的逻辑关系,它不代表元素间的物理分区,如单独的机器、进程、地址空间或者虚拟机。

The Containers, denoted by the separate rectangles, are Java EE runtime environments that provide required services to the application components represented in the upper half of the rectangle. The services provided are denoted by the boxes in the lower half of the rectangle. For example, the Application Client Container provides Java Message Service (JMS) APIs to Application Clients, as well as the other services represented. All these services are explained below. See Section EE.2.7, “Java EE Standard Services”.

由单独的矩形的上半部分表示的容器是Java EE的运行时环境,用来提供应用程序组件所需要的服务。矩形的下半部分表示提供的具体服务。例如,应用客户端容器(Application Client Container)为应用程序客户端提供Java消息服务(JMS),以及其他服务。这些服务将在下面进行解释。请参考EE.2.7章节“Java EE标准服务集”

The arrows represent required access to other parts of the Java EE platform. The Application Client Container provides Application Clients with direct access to the Java EE required Database through the Java API for connectivity with database systems, the JDBCTM API. Similar access to databases is provided to JSP pages and servlets by the Web Container, and to enterprise beans by the EJB Container.

箭头标示需要连接Java EE平台的其他部分。应用程序客户端容器(Application Client Container)通过使用Java API中的JDBC技术的数据库系统,为应用程序客户端(Application Client)提供服务。类似的,Web容器会提供给JSP页面或者Servlets,EJB容器会提供给企业Bean(enterprise bean)。

As indicated, the APIs of the JavaTM Platform, Standard Edition (Java SE), are supported by Java SE runtime environments for each type of application component.

如图所示,Java平台标准版(Java SE)的API通过Java SE的运行时环境对每种类型的应用程序组件提供支持。

Java™ Platform, Enterprise Edition (Java EE) Specification, v6(5)

<b>Figure EE.2-1 </b>Java EE Architecture Diagram 图 EE.2-1 Java EE架构示意图

The following sections describe the Java EE Platform requirements for each kind of Java EE platform element.

接下来的章节将会描述每种Java EE平台所需要的元素。

继续阅读