Hi There,
I am new to Jadex and currently investigetting it fr my upcoming project.
I went through some of the BDIv3 tutorial and could re-create some of teh agent code correctly.
However, Whenever I run an agent class, it is running withing the platfrom and the platform UI is visible.
I was wondering, if there is any way to create an standalone application that I can execute from command line?
I understand that the agent system may be dependent on the jadex platfrom and it needs to be running when agents run. But is there any way that it behave like an standalone application without the platform UI?
My plan is to integrate with a C++ code through JNI, where teh agent system can serve as an AI engine while both are running. Please help.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thx, it works, I have another problem please, I am had a field declared in the agent class and in the init method takes value but when a used in de Agnetbody is null, when the init method of the agent inicializate the fields??
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thx, it works, I have another problem please, I am had a field declared in the agent class and in the init method takes value but when a used in de Agnetbody is null, when the init method of the agent inicializate the fields??
Last edit: yanet 2016-07-05
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you could rephrase your question so I can understand your problem and maybe give a code example, I can help you.
It would also be nice if you would be a little more patient as posting questionmarks will not make us answer more quickly.
I suspect that you didn't use the @AgentCreated annotation on your init method so it does not get called at all (you can also check if it is executed yourself).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi There,
I am new to Jadex and currently investigetting it fr my upcoming project.
I went through some of the BDIv3 tutorial and could re-create some of teh agent code correctly.
However, Whenever I run an agent class, it is running withing the platfrom and the platform UI is visible.
I was wondering, if there is any way to create an standalone application that I can execute from command line?
I understand that the agent system may be dependent on the jadex platfrom and it needs to be running when agents run. But is there any way that it behave like an standalone application without the platform UI?
My plan is to integrate with a C++ code through JNI, where teh agent system can serve as an AI engine while both are running. Please help.
Thanks.
Starting a Jadex Platform without the UI is absolutely possible.
There are currently two parts of the documentation that handle this.
"Application Integration":
https://download.actoron.com/docs/releases/jadex-3.0.0-RC51/jadex-mkdocs/AC%20Tutorial/09%20Application%20Integration/
and "Env standalone":
https://download.actoron.com/docs/releases/jadex-3.0.0-RC51/jadex-mkdocs/Env%20User%20Guide/08%20Standalone/
The latter provides a configuration example using Configuration objects instead of String parameters, but both will work:
or
thx, it works, I have another problem please, I am had a field declared in the agent class and in the init method takes value but when a used in de Agnetbody is null, when the init method of the agent inicializate the fields??
thx, it works, I have another problem please, I am had a field declared in the agent class and in the init method takes value but when a used in de Agnetbody is null, when the init method of the agent inicializate the fields??
Last edit: yanet 2016-07-05
??
please, always post code examples, we do not set fields to null
If you could rephrase your question so I can understand your problem and maybe give a code example, I can help you.
It would also be nice if you would be a little more patient as posting questionmarks will not make us answer more quickly.
I suspect that you didn't use the @AgentCreated annotation on your init method so it does not get called at all (you can also check if it is executed yourself).
thx, a lot...and I apologize.
The first i ckeck was the @AgentCreated annotation , yes , I use it.
Okay, so if you can't find the problem, please post the agent code so we can check it.
Thanks Julian for the links!
It is funny that someone hijacking the original topics of the post! :-S
Last edit: Mahmud Hasan 2016-07-06