The List example illustrates the use of the Caffeine compiler and pass_by_value
of complex types.
The List interface written in Java. Note that this interface could both
have been written using standard IDL.
This is the ListUtility interface. It has methods to manipulate the linked
list defined above in List.java.
This is the ListClient program which binds to the ListServer, creates lists,
and calls operations on them.
This is the ListServer, implementing the length, reverse(),
sort methods.
This project has to be build in two steps.
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:
prompt> vbj ListServer & (start vbj ListServer on Windows) // make the server run in the background
Next,
prompt> vbj ListClient