Java Technology Home Page
A-Z Index

Java Developer Connection(SM)
Online Training

Downloads, APIs, Documentation
Java Developer Connection
Tutorials, Tech Articles, Training
Online Support
Community Discussion
News & Events from Everywhere
Products from Everywhere
How Java Technology is Used Worldwide
 
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...


<< BACK NEXT >>

[ This page was updated: 5-Nov-99 ]

Products & APIs | Developer Connection | Docs & Training | Online Support
Community Discussion | Industry News | Solutions Marketplace | Case Studies
Glossary - Applets - Tutorial - Employment - Business & Licensing - Java Store - Java in the Real World
FAQ | Feedback | Map | A-Z Index
For more information on Java technology
and other software from Sun Microsystems, call:
(800) 786-7638
Outside the U.S. and Canada, dial your country's AT&T Direct Access Number first.
Sun Microsystems, Inc.
Copyright © 1995-99 Sun Microsystems, Inc.
All Rights Reserved. Legal Terms. Privacy Policy.
1