| Author |
Is there any way to convert a shadow fact back to a javabean
|
Hope Zhu
Ranch Hand
Joined: May 11, 2004
Posts: 32
|
|
Hi, I have a java application which reads string msg off a queue, converts the string into a javabean and puts it into a Jess rule engine. Because of the high volume (a couple of 100 per min) of the msg I can't offer keeping both shadow facts and beans at the same time in the memory. But later if a rule fired against a fact I need find out which fact fired the rule and convert the fact back to bean and send out the bean to another application. Currently I got stuck on how to convert a fact back to a javabean. Is there a way to do it? This is urgent. My boss is chasing me. Anyone knows please please help. Thanks in advance.
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24081
|
|
The shadow fact has a reference to the JavaBean in the OBJECT slot. Or in Jess
|
[Jess in Action][AskingGoodQuestions]
|
 |
 |
|
|
subject: Is there any way to convert a shadow fact back to a javabean
|
|
|