Service Registry 3 2005Q4 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

Steps
  1. Go to the directory <INSTALL>/registry/samples/packages.

  2. Type the following command:


    asant pub-pkg
    
  3. Type the following command:


    asant search-pkg