Compiling the Client and Server Programs

You are now ready to compile the CORBA Caffeine client and server programs. Be sure that you have installed VisiBroker for Java 3.4, the Symantec Visual Café compiler, and the Java JDK. You also need to have Netscape Enterprise Server 3.0c or later installed, and you must include the nisb.zip file in your CLASSPATH.

To compile the Java interface, you must first go to the appropriate directory and enter the following command at the prompt:

javac HelloWorldCaffeine.java

Next, you must generate the stubs and skeletons using Java2IIOP. To do this, enter the following command at the prompt:

java2iiop HelloWorldCaffeine -no_comments

You can optionally generate CORBA IDL. To do this, enter the following command ...

Get JavaBeans Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.