To enable client applications to subscribe to and receive repository events, you must implement two Java interfaces and make the subscribing application available to repository event services.
The ISubscriber implementation class contains business logic specific to your application and receives event information in an instance of the class com.venetica.vbr.res.RepoEvent. The ISubscriberLocator class locates an instance of ISubscriber to handle the event.
To reach the subscriber, an event takes the path: .
You can base the ISubscriber and ISubscriberLocator implementations on non-EJB technologies such as Remote Method Invocation (RMI), web services, JDBC, and HTTP. However, the RES application is an EJB and subscriber implementations must therefore be able to run inside the EJB container of the application server.
To subscribe to events, call one or both of these methods:
IBM® Content Manager only: These methods delete the subscription in the RES Database but you must manually delete the subscriptions from the Content Manager repository.
To enable your client applications to subscribe to repository events:
