打包EJB客户机。
Part 1: Creating a JSF portlet EJB client
第 1部分:创建JSFportletEJB客户端
We are now ready to run the RCP EJB client.
现在我们已经为运行RCPEJB客户端做好了准备。
In Part 1, we will build an EJB client portlet.
在第1部分中,我们将构建一个EJB客户端portlet。
Export the EJB client Jar, as shown in Figure 11.
导出e JB客户机jar,如图11中所示。
EJB client-side interceptors and context passing.
EJB客户端截取程序与上下文传递。
Q: How does EJB client workload management (WLM) behave?
问:ejb客户机工作负载管理(WLM)是如何工作的?
Go to the EJB client project, highlight it, and right-click it.
转到EJB客户机项目,将其突出显示,并单击右键。
The EJB client from Example 1 can be executed by a user on demand.
示例1 中的EJB客户端可以由用户根据需要执行。
Create an EJB client and jar to be used for the SCA import operation.
创建用于SCA导入操作的EJB客户机和jar。
The sample servlet is an EJB client that outputs the results to the browser.
样本servlet是一个EJB客户机,它将结果输出到浏览器。
Creating an EJB client and setting up the connection to the WSRR session bean.
创建e JB客户端并设置连接到WSRR会话bean的连接。
Before starting, turn on a preference that allows the creation of an EJB client JAR project.
开始之前,启动优先选择,这将允许创建e JB客户端JAR项目。
In this class, the value in the text box is read and the EJB is called using the EJB client API.
在这一类中,读取了文本框的值以及使用eJB客户端api调用EJB。
The file for the EJB client is included in both the client application EAR and the EJB proxy EAR.
EJB客户机的文件同时包括在客户机应用程序EAR和 EJB代理 EAR 中。
For EJB 3.0 applications, it is not required to generate EJB client stubs during or prior to deployment.
对于EJB 3.0应用程序,在部署期间或之前生成eJB客户端存根不是必需的。
Client-side request-issued time: the timestamp of the request when it is issued by the EJB client interceptor.
客户端发出请求的时间:ejb客户机截取程序发出请求时的请求的时间戳。
We have created the EJB Client JAR, so now we need to add it to the library directory of the portlet WAR file.
我们已经创建e JBClientJAR,所以现在我们需要将其加入到portlet WAR文件的库目录中。
To test the application, all you really need is any standard EJB client that invokes the methods on the sending bean.
要测试应用程序,所需要的是可调用发送方bean方法的任何标准e JB客户端。
First, consider the code example below of an EJB client accessing an LDAP directory that implements a connection pool.
首先,考虑以下E JB客户机代码示例,该客户机访问实现连接池的LDAP目录。
As per the J2EE best practice, create an EJB client JAR and specify the client JAR name, as shown in Figures 3, 4, and 5.
按照J2EE最佳实践,创建e JB客户机jar文件并指定客户机JAR文件名称,如图3、4和5中所示。
Example 1 in this article, the EJB client example, removes duplicate WSDLs that have already been loaded into the repository.
本文中的示例1 (EJB客户端示例)移除已经加载到存储库中的重复WSDL。
Next, we need to import the EJB client JAR, which is a special JAR file with the code needed to call an EJB from a remote location.
接下来,我们需要导入EJB客户端jar,它是需要远程调用EJB的代码的专用JAR文件。
You'll need these settings to compile both examples, and for the runtime environment where you execute the EJB client for Example 1.
您需要使用这些设置来编译这两个示例,并使用这些设置获得执行示例1的EJB客户端的运行时环境。
The container must pass application exceptions through to the EJB client without changing the exception nor changing the transaction.
容器必须将应用程序异常传递到EJB客户端并且不改变该异常以及事务。
EJB client JAR — Contains the needed client interfaces and generated proxy and stubs to properly connect to running enterprise beans.
EJB clientJAR——包含了所需的客户端接口以及生成了代理服务器和恰当连接运行enterprisebeans的分支线。
In addition, you will see how portlets can use the EJB ClientJar wizard to package an EJB client JAR file inside your portlet WAR files.
此外,您将会看到portlet如何使用EJB ClientJar向导将EJB客户端JAR封装在您的portletWAR文件中。
Every public method on an EJB defines a transactional boundary between the EJB container and the EJB client, as specified in the deployment descriptor.
EJB上的每个公共方法都定义了ejb容器和EJB客户端之间的事务边界,并在部署描述符指定该边界。
This requirement means that both the EJB client and EJB module must be deployed in the same EAR file and running on the same application server instance.
这一需求意味着EJB客户机和EJB模块必须部署在相同的EAR文件中,并在相同的应用服务器实例中运行。
Though not depicted in Figure 6, this last port is used for an EJB client initial request to the Location Service Daemon (LSD) running in the Node Agent.
最后这个端口用于EJB客户机对运行在节点代理(Node Agent)中的LocationServiceDaemon (LSD)的初始请求,不过没有在图6中画出。
应用推荐