使用无状态会话EJB组件
通过使用 WSAD中支持的Web服务向导,我们能够很容易地生成所需的构件来将我们的计算器服务无状态的会话EJB组件作为 Web 服务公开。
We were able to easily generate the necessary artifacts to expose our calculator service stateless session EJB component as a Web service using the Web Services wizard support in WSAD.
在CustomerSession中定义的方法,将调用无状态会话ejb组件的方法(这个bean起到一个外观(facade)的作用),例如OrderService,从而调用EIS上的事务。
Methods defined in CustomerSession make calls to methods on stateless session EJB components (with the bean serving as a facade) such as OrderService, to invoke transactions on an EIS.
例如,sca导出组件会带来一个生成的无状态会话ejb。
For example, an SCA export results in a generated Stateless Session EJB.
有状态会话bean的池不能象无状态EJB组件的池那样用来容纳任何客户机请求。
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组件的池那样用来容纳任何客户机请求。
A pool of stateful session beans cannot be used to accommodate any client request the way that a pool of stateless EJB components can.
应用推荐