Sun Java Communications Suite 5 Event Notification Service Guide

ProcedureTo use the sample code

  1. Before running the makefile, set your library search path to include the directory:

  2. Compile the code using the Makefile.sample.

  3. Run apub and asub as follows in separate windows:

    apub localhost 7997

    asub localhost 7997

    Whatever is typed into the apub window should appear on the asub window. If you use the default settings, all iBiff notifications should appear in the asub window.

  4. Remove the msg-svr-base/lib path from your library search path.

    Note –

    If you do not remove this from the library search path, you will not be able to stop and start the directory server.