Hello,

I was just wondering what would be the best way to embed JESS into a Java application. 
The situation is as follows:

* The Java app has a lot of other logic and comm functionality, therefore Jess library 
must be used from Java (and not the other way around, i.e. extending Jess 
functionality with Java)
* at certain time the Java app will need to invoke Jess's functionality to process a 
_large_ set of rules and facts
* after the execution, extract facts' values and do something with them (e.g. store in 
a database)

What would be the fastest way to load the Jess constructs (rules and facts) ? Is it 
better to write them to a text file and then use executeCommand("(batch thefile.clp)") 
? Or is there a faster way (in terms of runtime performance)? 

And what would be the fastest way to "transfer" the facts' values (all slots or just 
some) back into the Java code?

Thank you in advance,
Raoul

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to