Listing 2. ejb-jar.xml fragment for the clear method.
清单2. ejb - jar . xml中clear方法的片段。
The following code has been added to the file ejb-jar.xml.
将下面的代码添加到ejb - jar . xml文件中。
We use the ejb-ref element to map an ejb reference to specific EJBs.
我们使用ejb - ref元素将ejb引用映射到特定的ejb。
Open the ejb-jar.xml file with the deployment descriptor editor in the ejb project.
使用部署描述符编辑器打开ejb项目中的ejb - jar . xml文件。
Next in our list of subdirectories, in the resources directory, is the ejb directory.
资源目录中子目录列表中的下一个目录是ejb目录。
The new web.xml is shown in Listing 4, with the additional
新的 web.xml如清单4 所示,其中包含增加的 ejb-local-ref元素。
The problem is that TradeStreamerTopic is actually a message destination within the daytrader-ejb-1_0-SNAPSHOT module, not the daytrader-streamer-1_0-SNAPSHOT.
问题在于 TradeStreamerTopic实际上是 daytrader-ejb-1_0-SNAPSHOT模块而非 daytrader-streamer-1_0-SNAPSHOT中的消息目的地。
首先创建EJB项目。
An EJB technology success story.
一个成功使用EJB技术的例子。
The EJB is now ready for testing.
现在可以测试EJB 了。
EJB客户机的JAR文件。
Double click on this EJB reference.
双击该EJB引用。
What to include in an EJB jar file!
在EJBjar文件中包含什么内容?
Let's build a simple EJB using both.
我们分别使用二者构建一个简单的EJB。
Develop a Web-based EJB application.
开发一个基于Web的EJB应用程序。
打包EJB客户机。
Click on the appropriate EJB component.
单击适当的EJB组件。
Check how you are using EJB technology.
检查使用EJB技术的方式。
pkey_ is a primary key of a Client EJB.
'pkey'是ClientEJB的主键。
In the EJB project field, enter WTSEJB.
在EJBproject字段中输入WTSEJB。
For example, no EJB support is included.
例如,它未包括EJB支持。
The EJB you are calling is quite simple.
您调用的EJB十分简单。
Enabling security for the EJB application.
启用EJB应用程序的安全性。
A simple EJB application without security.
没有安全性的简单ejb应用程序。
A row of task data represents a single EJB.
每行任务数据都表示一个EJB。
We are now ready to run the RCP EJB client.
现在我们已经为运行RCPEJB客户端做好了准备。
Run the sample application with EJB security
运行使用EJB安全性的示例应用程序
The EJB project uses the version in the EAR.
EJB项目使用EAR中的版本。
What else does EJB do for me as a programmer?
EJB还能为我这个程序员做什么呢?
Make sure to check Deploy EJB, see Figure 30.
请确保选中了DeployEJB,请参见图30。
应用推荐