The Domino AgentRunner

The Domino AgentRunner is a tool used to help you build, run and debug Domino agents in VisualAge for Java.  It uses a set of debug classes that access Notes context information so you can run and debug an agent in the IDE. 

To use the AgentRunner, create an agent that extends DebugAgentBase in VisualAge for Java then export the class file to the file system. Create an agent in Notes and import the class file to run the agent.  When you run the agent, it will generate an AgentContext document in the AgentRunner.nsf.  Now you can run the agent inside the IDE with the AgentRunner. It accesses the AgentContext document to make the program behave as though it were running as a real agent in a Notes environment.

When you have finished debugging your agent using the integrated debugger, you can create the production agent simply by editing your class so it extends AgentBase and reimporting the class file to your agent in Notes.

See also: Sample: Using the AgentRunner.

ngrelc.gif (533 bytes)
The Integrated Debugger

ngrelt.gif (466 bytes)
Using the AgentRunner