The first thing you need do is: mapping mysql table to an java Object (I
suppose you using java for coding), and then you can design the DAO class
for operating on mysql table, then u can use JESS directly to operate on
DAO.


You first need write DAO for the mysql, 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, February 06, 2007 8:50 PM
To: [email protected]
Subject: JESS: JESS + MySQL

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



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