Hi Jonathan,
I used the mysql connector for java (google), managed the interaction
with the database through an external java program that used the
connector's facilities. The program  created a Rete instance and passed
the database details in as facts. I extended the jess Userfunction class
to create functions which did data entry 'direct'  frome the Rete
instance to the mysql database.... these were called as the consequent
(RHS) of the rules.

Email me if that was a bit obscure... I am rushing.
Rob


==============Original message text===============
On Wed, 07 Feb 2007 7:50:13 +1100 [EMAIL PROTECTED] wrote:

Hello, my name is Jonathan Goode and I am in 4th year at the University
of Aberdeen undergoing my honours project for my final year.
(http://www.csd.abdn.ac.uk/teaching/levelfour/)
I was wondering if anyone could give me any pointers with regards to using
MySQL with JESS. Basically I am aiming to code a Farm Monitoring System
which is based around a MySQL DB of animal data on a Web Server along with
a set of JESS rules, such as if a calf becomes old enough to be weaned
from its mother do something e.g. call send_email.php to email the farmer.
(This could be done by getting the actual date/time and then getting the
D.O.B. of the calf from the DB.) I wanted to use a JESS rulebase with a
MySQL DB for the deffacts but I am unsure of how this will work. Is it at
all plausible?

Regards.





--------------------------------------------------------------------
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]
--------------------------------------------------------------------

===========End of original message text===========





--------------------------------------------------------------------
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