Accessing a Notes Database from a Java

I am looking for some documentation on connecting to a notes database from a sidebar application. I need to access “recent contacts” view of the Contacts database and retrieve login IDs. This database is stored locally.

  1. Anyone have any good documentation on something similar? I have been searching but I haven’t found much.

  2. I also need to do a search on the view after it is accessed. How would I do this?

  3. Is the procedure different when connecting to a local database vs one on a server?