user manual
SilkPerformer Java Explorer User Guide 59
3 S
ETTING UP TESTS
Enterprise JavaBeans & RMI Over IIOP
Click Finish and give a variable name to the EJB reference that was
obtained by the Java Explorer Wizard.
Click OK. You can now call any business methods of the EJB. Go to Java
Explorer’s Object panel and find the EJB that was placed there by the
wizard.
Sun For the testing of Sun EJBs with Sun’s J2EE Implementation, the
following settings must be specified:
Context factory:
com.sun.jndi.cosnaming.CNCtxFactory
Provider URL:
iiop://:1050 (port may vary based on server configuration)
Classpath Settings:
Classpath: Click the Browse button to search for the server and client
classpaths.
Server Classpath: Enter the path to j2ee.jar. This file is provided by Sun
and contains the J2EE implementation and the implementation used to
connect to Sun’s naming mechanism. Normally this file can be found in
the J2EE home directory within a lib subdirectory.