Installation and Registration

Now that the servlet and type signatures are created and compiled, they must be deposited into the repository. This is done using the XMLLoader tool. Assuming the repository jar file is in your classpath, this tool can be invoked by typing the following command.

jre net.cnri.adore.XMLLoader.XMLFrame
This launches the GUI application below.

If a command line interface is preferred, XMLLoader may be run using the command:
jre net.cnri.adore.XMLLoader.BasicLoader
The XMLLoader utility takes an XML file which describes repository operations to perform. The DTD which defines this grammar can be found in the file DO-DTD-V02.dtd

An example of a XMLLoader file can be found in AdoraTestTypes.xml, the script used to load the sample type signature and servlet used in the previous sections.

Registration

For a type to be usable within a repository, it must be registered. This means that appropriate handles must be created so that the repository can properly resolve types. The handles that must be created are: