跳转到主要内容

单击提交则表示您同意developerWorks 的条款和条件。 查看条款和条件.

当您初次登录到 developerWorks 时,将会为您创建一份概要信息。您在 developerWorks 概要信息中选择公开的信息将公开显示给其他人,但您可以随时修改这些信息的显示状态。您的姓名(除非选择隐藏)和昵称将和您在 developerWorks 发布的内容一同显示。

所有提交的信息确保安全。

  • 关闭 [x]

当您初次登录到 developerWorks 时,将会为您创建一份概要信息,您需要指定一个昵称。您的昵称将和您在 developerWorks 发布的内容显示在一起。

昵称长度在 3 至 31 个字符之间。 您的昵称在 developerWorks 社区中必须是唯一的,并且出于隐私保护的原因,不能是您的电子邮件地址。

单击提交则表示您同意developerWorks 的条款和条件。 查看条款和条件.

所有提交的信息确保安全。

  • 关闭 [x]

What are Enterprise JavaBeans components?: Part 3: Deploying and using Enterprise JavaBeans components

How IBM WebSphere Application Server uses EJB technology

This table illustrates how IBM WebSphere Application Server, Advanced Edition 2.0, uses various aspects of EJB technology.
Specification Role in WebSphere Application Server Advanced Edition 2.0
EJBThe Enterprise JavaBeans engine is one of the main WebSphere Application Server components. Through the manager interface, WebSphere Application Server supports definition of EJB containers and deployment of EJBs. Container-managed persistence is provided natively using DB2. Both session and entity beans are supported.
JDBCJDBC technology provides cross-DBMS connectivity to a wide range of SQL databases, each of which requires a specific driver. JDBC-based database access is a typical way of providing EJB persistence. WebSphere Application Server ships with native support for DB2, but can use other JDBC-compliant databases. The Connection Manager component increases efficiency of database access.
JNDIThe Java Naming and Directory Interface is independent of any specific directory service. The JNDI architecture consists of an API (Application Programming Interface) and an SPI (Service Provider Interface). Java applications use the JNDI API to access a variety of naming and directory services. The SPI enables naming and directory services to be plugged in transparently, allowing the Java application to access their services. The Directory Management page in the manager application allows the user to specify settings for a directory server, for example, an LDAP server.
JTAThe Java Transaction API supports invocation of transaction methods provided by JTS. The transaction attribute value in an EJB deployment descriptor, such as TX_MANDATORY, indicates the type of transaction support required by the EJB.
JTSThe Java Transaction Service is a Java implementation of the OMG Object Transaction Service, and provides underlying transaction support requested through JTA.
JSPJava Server Pages is the Java platform technology for building applications with dynamic Web content such as HTML, DHTML, and XML. WebSphere supports applications using JSPs, including automatic compilation of JSPs into servlets.
ServletThe HttpServlet class provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. Along with EJBs, the servlet engine forms one of the main WebSphere Application Server components. Servlets, analogous to applets on a client, allow development of server-side Java applications that are easier, more portable, and faster than equivalent CGI applications.
RMIRemote Method Invocation enables clients to run methods on objects residing on remote servers. EJBs use RMI; for example, the EJBHome and EJBObject interfaces extend java.rmi.Remote. RMI is the transport mechanism used by WebSphere Application Server.

Return to the article.