为新事务使用无状态会话bean
对于无状态会话bean尤其如此。
使用无状态会话EJB组件
声明无状态会话bean。
还可以使用无状态会话Bean远程接口。
创建缺省无状态会话Bean。
创建新的无状态会话Bean。
没有单独的无状态会话bean。
强烈建议结合使用DML风格操作和无状态会话。
It is strongly recommended that DML-style operations be used along with a stateless session.
建立无状态会话bean。
无状态会话Bean。
例如,中介以无状态会话ejb的形式配置到引擎中。
For example, mediation is deployed into the engine in the form of a stateless session EJB.
EJB:生成一个无状态会话bean来执行该服务。
EJB: a stateless session bean is generated to execute the service.
输入Library作为无状态会话bean的名称。
该无状态会话Bean使用JMS发送消息。
在缺省无状态会话Bean中,从清单1添加远程方法。
In the default stateless session bean, add the remote method from Listing 1.
使用无状态会话Bean,而不是有状态会话Bean。
Use stateless session beans instead of stateful session beans.
池与资源管理:ejb容器提供了无状态会话bean池。
Pooling and resource utilization: an EJB container provides pooling of stateless session beans.
例如,sca导出组件会带来一个生成的无状态会话ejb。
For example, an SCA export results in a generated Stateless Session EJB.
一个不错的推论是facade层中的无状态会话Bean。
A good corollary would be a stateless session bean at a facade layer.
导出可包含与导入相同的绑定(除无状态会话bean外)。
Exports can also contain the same bindings as imports (with the exception of the stateless session bean).
因此,我们建议对大多数应用程序使用无状态会话Bean方法。
Therefore, we recommend that a stateless session bean approach be chosen for most applications.
无论何时向应用程序中引入无状态会话,都需要一些自定义的代码。
Whenever a stateless session bean is introduced into an application, some custom code writing is almost always necessary.
此场景与上面提到的无状态会话BeanFacade非常类似。
This scenario is quite like the stateless session bean facade mentioned above.
无需实现特定的接口和注解就可以对无状态会话Bean进行编码。
A Stateless Session Bean can be coded without implementing a specific interface and annotation. An example is shown below.
Web服务客户也可以通过bean的服务端点接口访问无状态会话bean。
A web service client can also access a stateless session bean through the service endpoint interface of that bean.
请注意,SYSTEMB提供无状态会话Bean接口并使用CMT。
Please note that SYSTEMB provides a stateless session bean interface and uses CMT.
为了清空数据库,程序使用一个无状态会话bean自动启动CMT。
To clear the database, the program USES a stateless session bean that automatically starts CMTs.
除此之外,规范中还去掉了用于无状态会话bean的Home接口。
In addition, the Home Interface for stateless session beans has been removed.
它由PetStoreService这一无状态会话bean实现。
It is implemented by a single stateless session bean, PetStoreService.
应用推荐