The XML Storage Layer

The interface XmlStoreServer and its implementation XmlStoreServerImpl, in package edu.it.xmlstore, represents a single peer in the XML Store system. The XmlStoreServer allows the client to save and load XML documents from the XML layer and is responsible for all interaction with the Distributed Storage layer. The XmlStoreServer implements the storage strategy, deciding in which way to transform a given document to one or more byte-sequences to be stored.

XML Storage layer

The class XmlStoreHome is a helper class containing methods to get the system started. It provides methods for making initial contact with another server and locating the name service, both by using IP multicast. See Building applications using the XML Store for a more detailed description of how to use XmlStoreHome.