有状态会话bean。
Use stateless session beans instead of stateful session beans.
使用无状态会话Bean,而不是有状态会话Bean。
Two types of EJB technology are entity beans and session beans.
EJB技术的两种类型是实体bean和会话bean。
The SnippetsEJB project contains one entity bean, and four session beans.
SnippetsEJB项目包含一个实体bean和四个会话bean。
Next we'll configure method permissions for EJB2.1 and EJB3 session beans.
接下来,我们将配置EJB2.1和EJB3会话Bean的方法权限。
Combining session beans and JMS is a sensible enterprise-oriented solution.
将会话bean与JMS结合起来使用是一种可行的面向企业的解决方案。
You can, however, use a simple JMS client, or combine session beans and JMS.
不过,您可以使用一个简单JMS客户机,或者将会话bean与JMS结合起来使用。
In addition, the Home Interface for stateless session beans has been removed.
除此之外,规范中还去掉了用于无状态会话bean的Home接口。
Write your business logic with session beans, Spring, Guice, or Pojo services.
用会话Bean、Spring、Guice或Pojo服务写业务逻辑。
Like stateless session beans, stateful session beans are mapped to business processes.
与无状态会话bean一样,有状态会话bean也被映射到业务过程。
Stateful session beans, on the other hand, are not well designed for such applications.
相反,有状态会话bean并不是为这类应用程序而精心设计的。
Transaction requirements may also require session beans to have direct database access.
事务需求也可能要求会话bean有直接数据库访问。
Stateful session beans consume a substantial amount of the container's time and memory.
有状态会话bean消耗了容器的大量时间和内存。
First you will select the general component types (such as servlets and session beans).
首先,您将选择通用的组件类型(如servlet和会话bean)。
The IBM Records Manager API comprises some stateful session beans for the client’s usage.
IBMRecordsManagerAPI包含一些用于客户机的有状态会话bean。
The code executed some rules on objects which were passed to it using the session beans.
使用Session Bean把对象传给代码,代码在这些对象上执行规则。
In this case, I would recommend that both Services and Tasks be implemented as session beans.
假如这样,我将推荐Service及Task都作为会话bean来实现。
Stateful session beans, on the other hand, are not as friendly with the container's resources.
相反,有状态会话bean与容器资源并不那样友好。
Pooling and resource utilization: an EJB container provides pooling of stateless session beans.
池与资源管理:ejb容器提供了无状态会话bean池。
In general, the overhead for stateful session beans is greater than for stateless session beans.
一般情况下,有状态会话bean的开销要大于无状态会话bean的开销。
In most cases, your best solution will be to combine session beans with a JMS resource connection.
在大多数情况下,您最好的解决方案是将会话bean与JMS资源连接结合起来使用。
Using session beans to control workflow is a typical way in which J2EE applications are implemented.
使用会话bean来控制工作流是实现J2EE应用程序的典型方式。
When session beans access the database directly, the overall performance of the system will improve.
当会话bean直接访问数据库时,会提高系统的整体性能。
Scalability: Almost all EJB containers provide support for the clustering of stateless session beans.
可伸缩性:几乎所有ejb容器都提供了对无状态会话bean群集的支持。
The best solution is to use RMI to talk directly to stateless session beans in the application server.
最佳解决方案就是使用RMI直接与应用程序服务器中的无状态会话bean对话。
This can happen for servlets, session beans using bean-managed-transactions, and a few other scenarios.
使用bean 管理事务的会话bean 及一些其它场景可能发生这种情况。
From a performance standpoint, servlets and stateless session beans are fairly competitive technologies.
从性能的角度看,servlet和无状态会话bean是相当具有竞争力的技术。
It seems like you have found a good use for every EJB component type — other than stateful session beans.
似乎除了有状态会话Bean之外,您已经为所有的EJB组件类型找到了合适的用途。
Stateless session beans are used for business-logic tasks that service a single request from client code.
无状态会话bean用于那些为单一客户机请求提供服务的业务逻辑任务。
Unlike entity beans, stateless session beans have not ridden a roller coaster of popularity (see sidebar).
无状态会话bean的受欢迎程度不象实体bean那样大起大落(请参阅侧栏)。
应用推荐