anchor.diff:  
   .....
   
  -        RESTActivityServer restc=new RESTActivityServer();
  -        restc.setServerURL(_activityServerURL);
  -
  -        ActivityServerLogger activityUnitLogger=new ActivityServerLogger();
  -        activityUnitLogger.setActivityServer(restc);
  -
  -        activityUnitLogger.init();
  -
  -        _collector.setActivityUnitLogger(activityUnitLogger);
  +RESTActivityServer restc=new RESTActivityServer();
  +restc.setServerURL(_activityServerURL);
  +
  +ActivityServerLogger activityUnitLogger=new ActivityServerLogger();
  +activityUnitLogger.setActivityServer(restc);
  +
  +activityUnitLogger.init();
  +
  +_collector.setActivityUnitLogger(activityUnitLogger);
   ----
   
   This shows a situation where an embedded Activity Collector is being initialized with an Activity Server Logger, which uses the REST Activity Server client implementation.
  
positive.code: This section will show the different ways this information can be queried, using a variety of bindings.
  
  
  ===== Direct Injection
  
  The simpliest approach is to leverage CDI or OSGi (blueprint) to obtain a reference to the Activity Server.
  Once the reference to the Activity Server has been obtained, then the +getActivityTypes+ method can be invoked to
  obtain the list of events.
  
  ----
  
negative.code: TIP: Where possible, the Activity Collector mechanism described in the previous section should be used to aggregate and record the activity information, as this is more efficient that each system individually reporting events to the server.
  
  
  ===== Java API
  
  First step is to obtain a reference to the Activity Server,
  
  ----
  import org.overlord.rtgov.activity.server.ActivityServer;
  
  ....
  
  private ActivityServer _activityServer=null;
  
  ....
  
  // Get ActivityServer asynchronously
  ServiceRegistryUtil.addServiceListener(ActivityServer.class, new ServiceListener<ActivityServer>() {
  
      public void registered(ActivityServer service) {
          _activityServer = service;
      }
  
      public void unregistered(ActivityServer service) {
          _activityServer = null;
      }            
  });
  
  // Or synchronously
  _activityServer = ServiceRegistryUtil.getSingleService(ActivityServer.class);
  ----
  
  Once the reference to the Activity Server has been obtained, then call the +store+ method to record a list of Activity Units.
  