I am trying to run an agent from within a database from a Java application, and get the output so it can be accessed within the Java application and manipulated.
The agent could be Java, LS or Formula.
Can someone point me into the direction, or provide and example, of how to access a database, run an agent and how to get the output from the agent into the Java application.
For example,
A button is pressed on the Java application, which accesses a database, runs and agent (the agent will get some information from a document and pass the information back to the Java application somehow (?)) and the Java application will then display the information in a field on the Java UI.
Thanks in advance
Geoff Poole
Subject: Running Agent from Java Application
Seems like a strange architecture - if you are getting as far as accessing the database to run the agent, why not just access the data directly from your java application?
Otherwise, you’ll have to get your agent to dump an output file once it’s finished, and pick that up from your java app once it’s done.
HTH
Subject: Running Agent from Java Application
seach on google call agent through java script it will help you.form more chat me on ajitnarayan123@gmail.com
Subject: RE: Running Agent from Java Application
You can build an url for calling the agent and send an AJAX http request, and code your agent in such a way that it returns xml data of whatever you need, in your java code you can parse it.