Help on Oracle Enterprise Manager (integrating Delphi program through OLE)

   I would like to integrated an application wrote in Delphi with the
Oracle Enterprise Manager (OEM).  My program must implement some
methods that will be called by OEM at appropriate time (Events, Jobs,
...).  What kind of Ole server  Must I implement ?  (Ole Document
Server, Ole Automation Server, ..)