有状态会话bean。
A third alternative is stateful session beans.
第三种备用方案是有状态会话bean。
Use stateless session beans instead of stateful session beans.
使用无状态会话Bean,而不是有状态会话Bean。
Stateful session beans, on the other hand, are not well designed for such applications.
相反,有状态会话bean并不是为这类应用程序而精心设计的。
Stateful session beans consume a substantial amount of the container's time and memory.
有状态会话bean消耗了容器的大量时间和内存。
The IBM Records Manager API comprises some stateful session beans for the client’s usage.
IBMRecordsManagerAPI包含一些用于客户机的有状态会话bean。
Like stateless session beans, stateful session beans are mapped to business processes.
与无状态会话bean一样,有状态会话bean也被映射到业务过程。
Stateful session beans, on the other hand, are not as friendly with the container's resources.
相反,有状态会话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组件类型找到了合适的用途。
In addition, the use of stateful session beans pushes state to your application server, which is undesirable.
此外,使用有状态会话Bean将会再添加一些状态到您的应用服务器上,这也是不好的做法。
The SessionSycnhronization interface allows stateless or stateful session beans to respond to transaction failures.
SessionSycnhronization接口允许无状态或有状态会话bean对事务故障做出响应。
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不需要任何特殊的对象,也不需要使用额外的接口来创建有状态连接。
Stateful session beans maintain a "conversational state" with the client and are good for sets of related tasks that span multiple client requests.
有状态会话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状态。
While stateful session beans allow for greater flexibility in session state management, there are still advantages to storing the session state in the Web tier where practical.
虽然有状态会话bean在会话状态管理方面有更大的灵活性,但是在可能的情况下,将会话状态存储在We b层仍然有好处。
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)。
If a stateful solution is essential, consider using stateless session beans with a simple transaction layer, or creating a thin servlet layer on top of the business tier.
如果有状态解决方案是必需的,则请考虑使用带有简单事务层的无状态会话bean,或者在业务层上创建瘦servlet层。
If a stateful solution is essential, consider using stateless session beans with a simple transaction layer, or creating a thin servlet layer on top of the business tier.
如果有状态解决方案是必需的,则请考虑使用带有简单事务层的无状态会话bean,或者在业务层上创建瘦servlet层。
应用推荐