构建解决方案的下一步是更新ejb项目中的会话Bean,以使用Web服务客户机代理类调用Web服务提供者。
The next step in building the solution is to update the session bean in the EJB project to invoke the Web service provider using the generated Web services client proxy class.
JNDIListenerServlet和服务实现都使用了一个为本应用程序而创建的简单的助手类,助手类隐藏了初始化jms连接和会话的过程。
The JNDIListenerServlet and the service implementation both use a simple helper class created for this application that hides away the details of initializing the JMS connection and session.
通过使用诸如镜像映象和会话虚包之类的模式,我们就可以跟踪类的创建过程,以反映出外部实体的标识或它所提供的服务。
Using patterns such as Mirror Image and Session Facade, we can trace the creation of classes to reflect the identity of, or services provided by, an external entity.
表1总结了三类Web服务api定义,包括会话、变更历史和查找操作。
Table 1 summarizes the three types of Web service API definitions, including session, change history and find operations.
它还生成部署的类,这使得您的会话bean可以在EJB服务器(比如WebSphereApplicationServer)上运行。
It also generates deployed classes that allow your session bean to operate on an EJB server, such as WebSphere Application server.
它还生成部署的类,这使得您的会话bean可以在EJB服务器(比如WebSphereApplicationServer)上运行。
It also generates deployed classes that allow your session bean to operate on an EJB server, such as WebSphere Application server.
应用推荐