The Dictionary example

The Dictionary example illustrates the use of the Caffeine compiler.


From this example, you will learn how to:

Directory Contents

Building this example

Typing make(vbmake on Windows) in the Dictionary subdirectory will cause the Dictionary.java to be run through the javac compiler. The resulting Dictionary.class will then be run through the java2iiop tool which reads in java bytecode and generates DictionaryHelper.java. It will also build the following classes for the examples described above:

Compilation Errors and Warnings

You will see the following compilation errors when you type make(vbmake on Windows) in the Dictionary subdirectory or when you explicitly compile Dictionary using JDK1.0.2: The above error occurs because the class that is being used by this example is not part of JDK1.0.2. The solution to this problem is to upgrade to JDK1.1.0 or higher.

Running this example

To run this example, first make sure that the VisiBroker Smart Agent (osagent executable) is running on your network. Then start the Dictionary server using the command: Next,


Return to the Pass_by_value examples page.