O'Reilly logo

JavaBeans Unleashed by Rick Leinecker, Dr. Donald Doherty

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 Client and Server Programs

You must have Enterprise Server 3.0 running and your server program must have the authority to make updates to Web Naming to run the Caffeine client/server programs.

First, you must start the server. Enter the following command at the prompt to run the server program:

start java HelloWorldCaffeineServer

Now you can finally start the client. Enter the following command at the prompt:

java HelloWorldCaffeineClient

You should see a screen output that looks like this:

Initializing the ORB
Resolving the HelloWorldCaffeine Name
Setting greeting to "Hello There World!"
Avg Ping = 3.612 msecs
Greeting = "Hello There World!"
					

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