First round of unit testing: the Universal test client.
第一轮单元测试:通用测试客户机。
Perform the final end-to-end test with the Universal test Client.
对Universal Test Client执行最后的端到端测试。
You can now test the BookManager EJB using the Universal Test Client.
您现在可以使用统一测试客户端 (Universal Test Client) 测试BookManagerEJB。
For the purposes of this tutorial, you will use the Universal test client to test the messaging application.
为实现本教程的目的,将使用通用测试客户端测试消息传递应用程序。
The Universal test Client enables you to view and invoke methods, objects, and classes to test the session bean.
Universal Test Client使您能够查看和激活方法、对象和类来测试该会话bean。
Send a message using the Universal Test Client to destination jms/loggingQueue using connection factoryjms/CF4.
使用Universal Test Client将消息发送到使用连接factoryjms/CF4 的目的地jms/loggingQueue。
Next, invoke the universal test client by right-clicking the TestServer in the Servers view and selecting Run universal test client.
接着,通过在Servers视图中单击右键并选择Rununiversal test client调用universal test client。
When you click Finish, SimpleEJBEAR will be deployed on the server, after which the universal test client (UTC) window will open up automatically.
当你点击Finish时,SimpleEJBEAR将被部署到服务器上,之后会自动打开通用测试客户端(utc)。
After you have finished testing using the Universal test Client, stop the server by right click on the HelloWorldServer in the Servers view and select stop on the pop up menu.
当您使用通用测试客户机完成了测试后,请停止服务器,方法是用鼠标右键单击servers视图中的HelloWorldServer,然后选择弹出菜单中的Stop。
If the server started properly, use the Web-based, integrated, Universal Test Client, which will automatically surface for you, to create an instance of the HelloWorldSession.
如果服务器已正常地启动,请使用基于Web的、集成的通用测试客户机(它将自动出现)来创建HelloWorldSession的实例。
If you were successful with the Universal test Client, you may now want to test the beans using a standards-based J2EE application Client, which is part of a J2EE application module.
如果您成功使用了通用测试客户机,那么您现在可能想用基于标准的J2EE应用程序客户机(这是J2EE应用程序模块的一部分)来测试bean。
Using a test client, such as the Eclipse universal EJB test client, you can also execute methods on the EJB.
通过使用测试客户机(比如eclipse通用EJB测试客户机),您也可以在EJB上执行方法。
Using a test client, such as the Eclipse universal EJB test client, you can also execute methods on the EJB.
通过使用测试客户机(比如eclipse通用EJB测试客户机),您也可以在EJB上执行方法。
应用推荐