Technical Support
Discussion Forum
Online Training
Technical Articles
Bug Parade
JDC Resources
DukeDollars
Early Access
Toolbar
Community Process
Technology Sites

JDC Home Page

Solaris Developer Connection

Java Technology
java.sun.com

Java Industry Connection

Log Out

Online Training
SearchFAQContact Us

Online Training Index

Step 8: Compiling and Running the Client

All that remains to do is to compile and run the Client program to ensure that the Enterprise JavaBeans, installed in the servers, function correctly.
  1. Compile the client
  2. Run the client

Compiling and running the client are identical for all platforms, as should be the results from running the client.

1. Compile the client

javac ejb/demo/DemoClient.java


2. Run the client

The "Hello World" string comes from the DemoSelect() method of the Enterprise JavaBeans. Running the client should give the following messages:

java ejb.demo.DemoClient <cr>

Begin DemoClient...

Creating Demo

The result is hello world

End DemoClient...


previous next




Questions?
22-Apr-99
Copyright © 1996-1999 Sun Microsystems Inc.
All Rights Reserved. Legal Terms. Privacy Policy.
Sun Microsystems