IBM Rational Developer provides you with a Web-based Universal Test Client where you can test your enterprise beans and Java classes. See the IBM Rational Developer documentation Using the Universal Test Client for details. If you are running the Universal Test Client on a WebLogic Server, there are some minor differences in how the Universal Test Client is used.
Note: You must start the Universal Test Client by selecting Run on Server or Debug on Server from the context menu of Enterprise Applications, EJB projects or Web projects. This automatically sets the JNDI properties for the Universal Test Client.
If the server is re-published, you must Run on Server again to re-initialize the Universal Test Client, even if the Web browser is still open. You can also manually re-initialize the Universal Test Client by:
The feature to browse the JNDI tree in the Universal Test Client JNDI Explorer is not available when using a WebLogic server. Instead, you locate beans by looking up their home using their JNDI bindings. For more information on setting up JNDI bindings, see Working with the WebLogic extensions page.
For example, given an EJB module named Widget with a home object WidgetHome that is bound to the JNDI name ejb/com/ibm/test/WidgetHome:
Note: It may not be possible to look up local interfaces in WebLogic Server 8.1 and 7.0 due to the way JNDI is implemented in WebLogic Server.
Related tasks
Working with the WebLogic extensions page