使用无状态会话 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.
应用推荐