Home TOC |
Search
Feedback |
Running the J2EE Application Client
- In a terminal window, go to the examples/src/ejb/converter directory.
- Verify that this directory contains the ConverterApp.ear and ConverterAppClient.jar files.
- Set the APPCPATH environment variable to ConverterAppClient.jar.
- If the client resides on a different machine than the J2EE server, you must set the VMARGS environment variable to the following value. Replace <host> with the name of the host running the J2EE server.
-Dorg.omg.CORBA.ORBInitialHost=<host>- Type the following command:
runclient -client ConverterApp.ear -name ConverterClient- The client container pops open a login window. In the User Name field enter guest and in the Password field enter guest123.
- In the terminal window, the client displays these lines:
Binding name:'java:comp/env/ejb/SimpleConverter' 12160.0 0.77 Unbinding name:'java:comp/env/ejb/SimpleConverter'
Home TOC |
Search
Feedback |