One more time: Is the agent a scheduled agent? If so, there’s no need to trigger it, it will just fire off at the times it is configured to.
If you want to call it manually anyway, there’s nothing special about scheduled agents. Just make sure to use the correct agent name (including the braces).
I don’t know what your servlet does, and if it expects any data back from the agent. Basically, your servlet just has to make an http request using the ?OpenAgent URL command. You could either redirect to that agent (if that is what you want and the agent returns some html or redirects to another page). You could use the Apache HttpClient to issue a request and do something with the agent’s HTTP response. It all depends on what you have to do.
DIIOP stands for the Domino implementation of the IIOP protocol. Your Java code can get remote access to the sever via IIOP, if the server is configured accordingly and the IIOP ports configured in the server document are not blocked by any firewall.
You must copy over and add to your project’s classpath the ncso.jar file, that comes with every Notes and Domino installation (in your development environment and runtime system), and import the lotus.domino.* package. Then you have access to the Domino Object Model for Java in your servlet code.
I don’t have any code samples, as I don’t usually use that stuff. Look up Designer help, this forum and other internet resources for the keywords given.