Java API Events?

Is there any events or some equivalent in the Notes java API? I would like to know immediately when there is a change in a contact/calendar event or when new events/contacts are added/deleted.

Any help is greatly appreciated!

Thanks,

Josh