EJB stateful session bean fail over.
EJB状态会话bean故障转移。
有状态会话bean。
A third alternative is stateful session beans.
第三种备用方案是有状态会话bean。
The sample application has a stateful session bean.
该样例应用程序具有有状态会话bean。
Use stateless session beans instead of stateful session beans.
使用无状态会话Bean,而不是有状态会话Bean。
Use a stateful session bean to provide a stateful business process.
使用有状态会话bean来提供有状态业务过程。
The EJB container provides for all stateful session bean management.
ejb容器提供了所有有状态会话bean管理。
You need to avoid stateful session EJBs in your distributed applications.
您需要在分布式应用程序中避免有状态的会话ejb。
To manage state on the business tier, we use stateful session EJB components.
要在业务层上管理状态,我们使用有状态会话ejb组件。
The stateful session EJB component implementation can likewise be very simple.
有状态会话ejb组件的实现同样可以非常简单。
With a stateful session bean, the business logic in the client can be as simple as.
使用有状态会话Bean,客户端的逻辑业务可能非常简单,如下所示。
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并不是为这类应用程序而精心设计的。
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。
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的开销。
Use an application server that provides automatic support for recovery of stateful session bean state.
使用应用程序服务器,该服务器为有状态会话bean的状态恢复提供自动支持。
All in all, stateful session EJB components provide a heavyweight mechanism for managing application state.
总而言之,有状态会话ejb组件为管理应用程序状态提供了一种重量级机制。
In addition, the use of stateful session beans pushes state to your application server, which is undesirable.
此外,使用有状态会话Bean将会再添加一些状态到您的应用服务器上,这也是不好的做法。
It seems like you have found a good use for every EJB component type — other than stateful session beans.
似乎除了有状态会话Bean之外,您已经为所有的EJB组件类型找到了合适的用途。
I am having a hard time imagining how I would do the same thing as simply without stateful session EJB components.
我思考了很久,如何能够在不使用有状态会话ejb组件的情况下完成相同的任务。
The SessionSycnhronization interface allows stateless or stateful session beans to respond to transaction failures.
SessionSycnhronization接口允许无状态或有状态会话bean对事务故障做出响应。
The service key can guarantee that a specified stateful session bean will be accessed by subsequent requests from same client.
这个服务密匙能够保证:一个指定的有状态会话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组件的池那样用来容纳任何客户机请求。
Those services are DynaCache, memory to memory session replication, core groups, Web services caching, and stateful session bean persistence.
这些服务是DynaCache、内存到内存会话复制、核心组、Web服务缓存和有状态会话Bean持久性。
Those services are DynaCache, memory-to-memory session replication, core groups, Web services caching, and stateful session bean persistence.
这些服务是DynaCache、内存到内存会话复制、核心组、Web 服务缓存和有状态会话bean持久化。
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,或者在数据库中存储会话状态。
应用推荐