O'Reilly logo

J2EE™ Tutorial, The by Beth Stearns, Monica Pawlan, Eric Jendrock, Kim Haase, Dale Green, Stephanie Bodoff

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Running the J2EE Application Client

To run the J2EE application client, perform the following steps.

1.
In a terminal window, go to the j2eetutorial/examples/src/ejb/converter directory.
2.
Verify that this directory contains the ConverterApp.ear and ConverterAppClient.jar files.
3.
Set the APPCPATH environment variable to ConverterAppClient.jar.
4.
Type the following command (on a single line):
runclient -client ConverterApp.ear -name ConverterClient 
-textauth 
5.
The client container prompts you to log in. Enter guest for the user name and guest123 for the password.
6.
In the terminal window, the client displays these lines:
 Binding name:’java:comp/env/ejb/SimpleConverter’ 12160.00 0.77 Unbinding name:’java:comp/env/ejb/SimpleConverter’ ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required