8.3.10 Location of Listeners

The classes implementing the listener interfaces will reside on the same JVM as the repository itself. In implementations where both the application using the API and the repository itself are operating on the same JVM, this poses no particular problems.

In client-server implementations that use RMI to connect the application to a remote repository, the application must ensure that any listeners registered to the repository are serializable, thus allowing them to be passed to the JVM running the repository instance.