打包EJB客户机。
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中所示。
The EJB client from Example 1 can be executed by a user on demand.
示例1 中的EJB客户端可以由用户根据需要执行。
The code in a client program using EJB 3 is even simpler.
使用EJB3的客户端程序中的代码甚至更简单。
Now you will create the EJB components that the client will call.
现在您将创建客户机将要调用的EJB组件。
Whenever possible, however, use local client views and EJB local references.
但是,只要有可能,还是应该使用本地客户端视图和EJB本地引用。
The second example takes advantage of the local client view of the target (Person) EJB.
第二个实例利用了目标 (Person)EJB的本地客户端视图。
Figure 9. Add the EJB project as a dependent JAR to the Application Client Project.
图9. 把EJB项目作为从属的JAR添加到应用程序客户机项目。
Add the EJB project as a dependent JAR to the Application Client project.
把EJB项目作为从属的JAR添加到应用程序客户机项目。
Running the EJB Test Client is sufficient to show that the connections work.
运行EJB测试客户机就足以显示连接可用了。
SampleEJBClient: The client part of the EJB project example
SampleEJBClient:EJB项目实例的客户端部分
pkey_ is a primary key of a Client EJB.
'pkey'是Client EJB的主键。
pkey_ is a primary key of a Client EJB.
'pkey'是Client EJB的主键。
应用推荐