The Dictionary interface written in Java.
This is the Dictionary client. It binds to the Dictionary Server and puts
a variety of data types into the Dictionary. the client passes a string,
a vector, creates a hash table and a vector, fills them in with words and
passes the built in types into the CORBA Dictionary. This shows the mixing
and matching of built-in Java types which are all passed using Java serialization.
This is the Dictionary Server. The dictionary is implemented using a Java
hash table. The benefit of using the Java hash table is that each of the
methods that the Dictionary supports can be simply implemented as a one-line
call to the underlying hash table.
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 Dictionary server using the command:
prompt> vbj DictionaryServer & (start vbj DictionaryServer on Windows) // make the DictionaryServer run in the background
Next,
prompt> vbj DictionaryClient