*
The moose likes Other Java Products and Servers and the fly likes Embedding Jess in my Java application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Embedding Jess in my Java application" Watch "Embedding Jess in my Java application" New topic
Author

Embedding Jess in my Java application

assiatoune assiatoune
Greenhorn

Joined: Jun 17, 2004
Posts: 1
hello,
i have a probleme with embedding jess in my java appliation,
my projet cosists of developping intelligent agents.
eah agent has its beliefs, its rules , and its goal to be attended using the jess engine?
how can I do this?that means how can i define a class for example "beliefs" and "rule base"in java using jess and then calling the jess inference engine to attend the goal?
thanks very very match.

[edit: renamed the topic to better match the question]
[ June 17, 2004: Message edited by: Lasse Koskela ]
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Hi,

Welcome to JavaRanch!

Embedding Jess in a Java program can be very simple. Let's say the rules for an agent are in a file "agentrules.clp". You can simply do this:



Of course, there's much more you can do. There are a lot of questions here, and of course I can't answer all of them in detail. The best resources for learning about Jess are the book "Jess in Action" (see my signature for the Amazon link) and the Jess user's mailing list (jess-users@sandia.gov).

Finally, note that a number of existing agent frameworks support Jess directly, so you may be able to save yourself some work just by using Jade or MadKit or Bond or ... . You can see the Related Web Sites page at the Jess web site for more links.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Embedding Jess in my Java application
 
Similar Threads
another problrm with jess!!!
[jess] Why a language and not an API?
Information needed on JESS
How to add rules to running engine?
jess