How to run an agent from a Java-application?

Hi,is it possible to run an agent, on a domino-server, from a java program?

Thanks!

Subject: How to run an agent from a Java-application?

The same way you would run an agent from another agent - you would use ‘run’ method. If you look at all methods available for agents, you will see documentation and examples.

Subject: RE: How to run an agent from a Java-application?

Thanks for your answer, but in the documentation there are only descriptions and examples to run an Agent from another agent. I wont to run an agent from a non domino-application, outside the notes environment.

Subject: RE: How to run an agent from a Java-application?

It is the same. You need to create domino session, open the database, open agent and run it.

Subject: RE: How to run an agent from a Java-application?

Thanks,yes you right but for that i need diiop. I’m looking for a solution without diiop, because i have to install and configure diiop on all domino servers that i want to work with.

Nevertheless thanks for your help.

Subject: what about running the agent via a URL?

Kick off the agent via the Java.net api via a url.

Howard