Service Registry 3.1 Developer's Guide

Organizing Objects Within Registry Packages: Examples

For examples of using registry packages, see JAXRPublishPackage.java and JAXRSearchPackage.java in the directory INSTALL/registry-samples/packages/src. The first example publishes a RegistryPackage object that includes all objects in the Registry whose names contain the string "free". The second example searches for this package and displays its contents.

ProcedureTo Run the JAXRPublishPackage and JAXRSearchPackage Examples

  1. Go to the directory INSTALL/registry-samples/packages.

  2. Type the following command:


    Ant-base/ant pub-pkg
    
  3. Type the following command:


    Ant-base/ant search-pkg