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接口。
Like stateless session beans, stateful session beans are mapped to business processes.
与无状态会话bean一样,有状态会话bean也被映射到业务过程。
In general, the overhead for stateful session beans is greater than for stateless session beans.
一般情况下,有状态会话bean的开销要大于无状态会话bean的开销。
Pooling and resource utilization: an EJB container provides pooling of stateless session beans.
池与资源管理:ejb容器提供了无状态会话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对话。
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相比效率都比较低。
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层。
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是最安全和最受推崇的数据持久性机制。
The Trading_Logic project implements the backend logic comprised of EJB 3.0 Stateless Session Beans.
Trading_Logic项目实现由ejb 3.0无状态会话bean组成的后端逻辑。
The logic layer contains the actual application logic, implemented as EJB 3.0 Stateless Session Beans.
逻辑层包含实际的应用程序逻辑,逻辑实现为EJB 3.0无状态会话bean。
Stateless session beans are used for business-logic tasks that service a single request from client code.
无状态会话bean用于那些为单一客户机请求提供服务的业务逻辑任务。
Stateless session beans are used for business-logic tasks that service a single request from client code.
无状态会话bean用于那些为单一客户机请求提供服务的业务逻辑任务。
应用推荐