Use stateless session beans instead of stateful session beans.
使用无状态会话Bean,而不是有状态会话Bean。
In addition, the Home Interface for stateless session beans has been removed.
除此之外,规范中还去掉了用于无状态会话bean的Home接口。
The three runner-ups are cookies, hidden fields, and stateless session beans.
隐藏域和有状态会话bean。
Like stateless session beans, stateful session beans are mapped to business processes.
与无状态会话bean一样,有状态会话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的开销。
The Trading_Logic project implements the backend logic comprised of EJB 3.0 Stateless Session Beans.
Trading_Logic项目实现由ejb 3.0无状态会话bean组成的后端逻辑。
If you follow a thin facade pattern, your stateless session beans probably delegate to other classes.
如果用户采用瘦虚包模式,那么用户的无状态会话可能会代表其他的类。
Stateless session beans are used for business-logic tasks that service a single request from client code.
无状态会话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对话。
The logic layer contains the actual application logic, implemented as EJB 3.0 Stateless Session Beans.
逻辑层包含实际的应用程序逻辑,逻辑实现为EJB 3.0无状态会话bean。
From a performance standpoint, servlets and stateless session beans are fairly competitive technologies.
从性能的角度看,servlet和无状态会话bean是相当具有竞争力的技术。
Unlike entity beans, stateless session beans have not ridden a roller coaster of popularity (see sidebar).
无状态会话bean的受欢迎程度不象实体bean那样大起大落(请参阅侧栏)。
As we discussed last month, stateless session beans are well designed for e-business on demand applications.
正如我们上个月讨论的,无状态会话bean是为电子商务随需应变(e - businesson demand)应用程序精心设计的。
EJB web services: With the EJB 1.4 specification, web services endpoints can be modeled as stateless session beans.
EJBWeb服务(EJB Webservices):根据EJB 1.4规范,Web服务端点可以模型化为无状态的会话bean。
They occupy more memory, consume more cycles of CPU, and are generally inefficient compared to stateless session beans.
它们占用更多的内存,使用更多的CPU周期,并且通常情况下与无状态会话bean相比效率都比较低。
Stateless session beans in particular can be easily pooled by the container, because they only need to maintain state per request.
特别地,无状态会话bean可以方便地被容器合用,因为它们只需要维护每个请求的状态。
The data access tier is a set of coarse-grained data access Objects (DAOs) (see Resources) implemented as stateless session beans.
数据访问层是一系列作为无状态会话bean实现的粗粒度DataAccessObjects (DAO)(参见参考资料)。
Location independence is provided by remote interfaces using RMI over IIOP to stateless session beans or entity home methods that encapsulate the services.
位置独立性是由远程接口使用RMIover IIOP提供给无状态会话Bean或封装服务的实体home方法的。
In fact, stateless session beans have remained steady and reliable in terms of both popularity and functionality since 1999, when the EJB specification was released.
事实上,在普及和功能方面,无状态会话bean自1999年(当年发行了ejb规范)开始就一直保持稳定和可靠。
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层。
When I began to learn the EJB specification, I was quite confused that the stateless session beans have a similar behavior, yet I was taught that these were highly scalable.
我开始学习EJB规范时,对无状态会话bean 都有相似地行为这个问题感到很困惑,但是却被告诉这些问题是高度可扩展的。
Despite the drawbacks, J2EE architects have begun to claim plain vanilla stateless session beans with raw JDBC calls as the safest and most commonly recommended data persistence mechanism.
尽管还有不足,J2EE架构设计师已开始宣布带有原始jdbc调用的纯无状态会话bean是最安全和最受推崇的数据持久性机制。
For example, in WebSphere Application Server, requests for stateless session beans are load-balanced across all of the members of a cluster where a stateless session bean has been deployed.
例如,在WebSphereApplicationServer中,对无状态会话Bean的请求,是通过对部署无状态会话的成员集群进行平衡加载来实现。
Object caching and pooling: the application server automatically pools stateless session beans at the server level, reducing the amount of time spent in object creation and garbage collection.
对象高速缓存和合用:应用程序服务器自动在服务器级合用无状态会话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组件的池那样用来容纳任何客户机请求。
One of the EJB 2.0 best practices is to use a stateless Session bean to interact with Entity beans that have any local client views.
EJB 2.0最实际的用处之一是使用无状态的Sessionbean与含有任何本地客户端视图的Entitybean 相结合。
The max-beans-in-free-pool element defines the maximum size of the free pool of EJBs for a specific entity bean, stateless session bean, or message-driven bean.
max - beans - in -free -pool元素定义了特定实体bean、无状态会话bean或消息驱动bean的ejb空闲池的最大大小。
应用推荐