I think John Hossack wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> Hi,
> 
> I am currently developing a JAVA based alarm processor which uses JESS as
> the rule-engine interpreting incoming alarms.  I have been experiencing some
> problems with creating objects on the right hand side of rules, which can
> then be passed back to the JAVA code.

What problems are you having?

> 
> When the conditions on the left hand side of the rules are met the rules
> must create an object from a well-formed bean. A single rule may fire
> several times for a given fact list and, in each case, the rule must create
> a unique object using the bean. Each of these objects must be stored in a
> 'buffer' which can be accessed by the JAVA code upon completion of the RETE
> engine execution. The objects within the buffer must be able to be retrieved
> for use by a variety of functions within the JAVA code.
> 

If each such object can be associated with a unique String, then you
can simply use the store and fetch functions -- see manual section
4.4.4. If you can't do it this way, then simply write a Java function
to receive the objects -- maybe a static method, so make life easy --
and have Jess call it to register each object. Is there some other
issue I'm not addressing?


> Can anyone help?
> 
> Thanks in advance,
> 
> John Hossack
> 
> ===========================================
> John Hossack
> ScottishPower Research Fellow
> Centre for Electrical Power Engineering
> University of Strathclyde
> 204 George Street
> Glasgow G1 1XW
> 
> Tel:       0141 548 2665
> Fax:      0141 552 2487
> email:    [EMAIL PROTECTED]
> WWW: http://www.isap.eee.strath.ac.uk
> ===========================================
> 
> 
> ---------------------------------------------------------------------
> 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]
> ---------------------------------------------------------------------
> 



---------------------------------------------------------
Ernest Friedman-Hill  
Distributed Systems Research        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
Org. 8920, MS 9012                  [EMAIL PROTECTED]
PO Box 969                  http://herzberg.ca.sandia.gov
Livermore, CA 94550

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