Best Practice for J2EE Remote access to Domino

I’ve been scavenging the web and this forum for hints, but can’t really find anything. Is there any documentation on how best to use the notes java api from a remote j2ee server?

We’re using WLS to connect to domino via IIOP using the notes java api.

In particular, how should the Session object be reused? This thread (http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/085ed4eab0c5b79d85256f9e005f61af?OpenDocument) says that one session per thread is required, this thread (http://www-10.lotus.com/ldd/nd6forum.nsf/55c38d716d632d9b8525689b005ba1c0/7852b4ba82e370fc85256e0f0038364c?OpenDocument) says:

The DIIOP requests apparently interrupt each other. So if you make a second connection while the first is still processing, the first request is closed. This makes it useless in a multi-threaded application.

We are using a technical user to access notes databases. So a single user id is used. Theoretically, if the session were multithreaded, we need just a single session instance.

TIA,

  • vj