The List example

The List example illustrates the use of the Caffeine compiler and pass_by_value of complex types.


From this example, you will learn how to:

Directory Contents

Building this example

Typing make(vbmake on Windows) in the List subdirectory will cause the Listutility.java to be run through the javac compiler. The resulting ListUtility.class will then be run through the java2iiop tool which then generates ListUtilityHelper.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 List subdirectory or when you explicitly compile List.java 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 ListServer using the command: Next,


Return to the Pass by Value examples page.