• 在本文中,我们将讨论可使用CommunityEdition来保护会话、实体和消息驱动的EJB的不同选项。

    In this article we discuss the different options available to secure session, entity and message-driven EJBs using Community Edition.

    youdao

  • 问题:太过于关注SOA中的会话和实体。

    The problem: too much focus on sessions and entities in soa.

    youdao

  • 可以为任何会话或实体bean方法指定事务属性。

    The transaction attribute can be specified for any session or entity bean method. The following attributes are defined in the EJB 2.1 specification.

    youdao

  • 这段查找代码类似于会话或实体bean 中的代码。

    This lookup code is similar to code that's in the session or entity beans.

    youdao

  • 异步地访问会话bean和实体bean。

    Access session and entity beans asynchronously.

    youdao

  • 会话bean和实体bean可以发送JMS消息,但只能同步接收这些JMS消息。

    Session beans and entity beans can send JMS messages, but can only receive them synchronously.

    youdao

  • 首先,为了避免网络开销并强制遵守业务规则,几乎总是通过会话bean访问实体bean。

    First, to avoid network overhead and force adherence to business rules, entity beans are almost always accessed through a session bean.

    youdao

  • 图3演示了两个实体之间的简单会话。

    Figure 3 illustrates a simple conversation between two entities.

    youdao

  • 与会话Bean和实体Bean不同,消息驱动的Bean不会由其他Bean或客户端应用程序调用。

    Unlike session and entity beans, message-driven beans are not invoked by other beans or client applications.

    youdao

  • EJB技术的两种类型是实体bean和会话bean。

    Two types of EJB technology are entity beans and session beans.

    youdao

  • 这将使执行转移到servlet控制器,然后转到会话bean,再转到实体 bean。

    This will pass execution on through to the servlet controller to the session bean on to the entity bean.

    youdao

  • 当收到一条消息时,该客户机便可以与应用服务器建立一个同步的RMI连接,并按照常规的方式调用会话bean或者实体bean。

    Upon receiving a message, the client could then establish a synchronous RMI connection with the application server and invoke the session or entity beans in the usual way.

    youdao

  • 一个会话bean访问多个实体bean比允许客户机进行多次远程方法调用效率要高得多,维护起来也要容易得多。

    A session bean accessing multiple entity beans is much more efficient and easy to maintain than allowing clients to make multiple remote method calls.

    youdao

  • 在EJB2规范之前,总是认为在实体Bean周围使用会话BeanFacade是最佳的。

    Prior to the EJB 2 specification it was always considered best to use a session bean facade around an entity bean.

    youdao

  • 这里讨论的方案并未涵盖所有情形,但是它们代表了实体EJB组件和会话 EJB 组件的一些最常见用法。

    The scenarios discussed here don't cover every situation, but they are representative of some of the most common uses for entity EJB components and session EJB components.

    youdao

  • SnippetsEJB项目包含一个实体bean和四个会话bean。

    The SnippetsEJB project contains one entity bean, and four session beans.

    youdao

  • 无状态会话bean的受欢迎程度不象实体bean那样大起大落(请参阅侧栏)。

    Unlike entity beans, stateless session beans have not ridden a roller coaster of popularity (see sidebar).

    youdao

  • 位置独立性是由远程接口使用RMIover IIOP提供给无状态会话Bean或封装服务的实体home方法的。

    Location independence is provided by remote interfaces using RMI over IIOP to stateless session beans or entity home methods that encapsulate the services.

    youdao

  • max - beans - in -free -pool元素定义了特定实体bean、无状态会话bean或消息驱动bean的ejb空闲池的最大大小。

    The max-beans-in-free-pool element defines the maximum size of the free pool of EJBs for a specific entity bean, stateless session bean, or message-driven bean.

    youdao

  • 为了缩短系统启动时间并降低整体负荷,应尽可能使用非持久性会话bean,而不应使用实体 bean(将自动维护状态信息)。

    To reduce system startup times and general overhead, use non-persistent session beans rather than entity beans (which automatically maintain state information) whenever possible.

    youdao

  • 例如我们将把实体Bean和会话Bean放在不同的JAR中,之所以这样做是因为较大的J2EE应用程序常常是由若干JAR或项目组成的。

    For example, we will put entity and session beans into different JARs, since larger J2EE applications are often comprised of several JARs, or projects.

    youdao

  • 会话bean通常会操作一个或多个实体bean。

    Session beans typically operate on one or more entity beans.

    youdao

  • 这个样本工程由一个实体bean、一个会话bean、一个样本servlet和一个样本客户机组成。

    This sample project consists of an entity bean, a session bean, a sample servlet, and a sample client.

    youdao

  • EJB 2.0规范定义了一种新的企业bean,以期弥补其他四种类型的企业bean(两种会话bean和两种实体bean)的不足。

    The EJB 2.0 specification defines a new type of enterprise bean to complement the other four types available (two session types and two entity types).

    youdao

  • 实体bean通常也可以通过会话bean来访问,这意味着每个事务至少包含两个企业bean,而通常会更多。

    Entity beans are also typically accessed through session beans, which means each transaction involves at least two enterprise beans and often many more.

    youdao

  • 作为外观的会话Bean将通过其本地接口访问实体Bean,从其收集数据,然后将此信息返回发出调用的应用程序。

    Instead, session beans acting as facades can access entity beans via their local interfaces, gather data from them, and then return this information to the calling application.

    youdao

  • 新的会话bean代表客户机对服务器上的实体bean进行调用。

    The new session bean makes calls to the entity beans on the server on behalf of a client.

    youdao

  • 从体系结构设计的观点来看,直接通过会话bean来处理数据管理比使用实体bean简单得多。

    From an architectural design standpoint, handling data management directly through session beans is much simpler than using entity beans.

    youdao

  • 例如,JMS客户机可以发送一条消息给一个MDB(该MDB一直在线等待传进来的消息),而后者可以访问一个会话bean或者一些实体bean。

    For instance, a JMS client could send a message to an MDB (which is constantly online awaiting incoming messages), which in turn could access a session bean or a handful of entity beans.

    youdao

  • 请试试会话bean的一些远程方法,稍后这些方法将调用实体bean的类似方法。

    Try out some of the remote methods on the session bean which in turn invoke similar methods on the entity bean.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定