Sun Java System Communications Services 6 2005Q4 Event Notification Service Guide

ProcedureTo use the sample code

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


    msg_server_base/lib
  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_server_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.