A third alternative is stateful session beans.
第三种备用方案是有状态会话bean。
Use stateless session beans instead of stateful session beans.
使用无状态会话Bean,而不是有状态会话Bean。
Like stateless session beans, stateful session beans are mapped to business processes.
与无状态会话bean一样,有状态会话bean也被映射到业务过程。
The IBM Records Manager API comprises some stateful session beans for the client’s usage.
IBMRecordsManagerAPI包含一些用于客户机的有状态会话bean。
In general, the overhead for stateful session beans is greater than for stateless session beans.
一般情况下,有状态会话bean的开销要大于无状态会话bean的开销。
It seems like you have found a good use for every EJB component type — other than stateful session beans.
似乎除了有状态会话Bean之外,您已经为所有的EJB组件类型找到了合适的用途。
A pool of stateful session beans cannot be used to accommodate any client request the way that a pool of stateless EJB components can.
有状态会话bean的池不能象无状态EJB组件的池那样用来容纳任何客户机请求。
Unlike servlets, stateful session beans do not require any special objects or the use of an additional interface to create stateful connections.
与servlet不同,有状态会话bean不需要任何特殊的对象,也不需要使用额外的接口来创建有状态连接。
The other alternatives for storing server-side state in J2EE applications is to use stateful session beans, or store conversational state in the database.
在J2EE应用程序中存储服务器端状态的其他方法是使用有状态会话bean,或者在数据库中存储会话状态。
Therefore, how to provide a way to expose these stateful session beans as a web service is a big issue for the implementation of IBM Records Manager web Services.
因此,如何将这些有状态会话bean公开为Web服务成为IBMRecordsManager WebServices实现的一个大问题。
This common solution to stateful session beans requires server time and resources for passivating the bean state, recycling bean instances, and activating a bean state.
这个针对有状态会话bean的常用解决方案需要花费服务器时间和资源来钝化bean状态、回收bean实例和激活bean状态。
Next, you'll choose some more specific types that match the application's requirements for user interface display and business request processing (such as JSP pages and stateful session beans).
接下来,您将选择一些匹配应用程序的用户界面显示和业务请求处理需求的更特定类型(如jsp页面和有状态会话bean)。
有状态会话bean。
Stateful session beans consume a substantial amount of the container's time and memory.
有状态会话bean消耗了容器的大量时间和内存。
Stateful session beans, on the other hand, are not well designed for such applications.
相反,有状态会话bean并不是为这类应用程序而精心设计的。
Stateful session beans, on the other hand, are not as friendly with the container's resources.
相反,有状态会话bean与容器资源并不那样友好。
Stateful session beans maintain a "conversational state" with the client and are good for sets of related tasks that span multiple client requests.
有状态会话bean维护客户机的“会话状态”,适合处理那些跨越多个客户机请求的任务。
Stateful session beans maintain a "conversational state" with the client and are good for sets of related tasks that span multiple client requests.
有状态会话bean维护客户机的“会话状态”,适合处理那些跨越多个客户机请求的任务。
应用推荐