有状态会话bean。
Access to the session beans is restricted.
访问会话bean是受限制的。
A third alternative is stateful session beans.
第三种备用方案是有状态会话bean。
This is especially true of stateless session beans.
对于无状态会话bean尤其如此。
Business interfaces are optional, even for session beans.
业务接口是可选的,即使对于会话bean也是如此。
For example, an application may contain two session beans.
例如,应用程序可以包含两个会话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。
We also try not to create any "view-aware" code in the session beans.
我们还试图不在会话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。
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对话。
应用推荐