I recently came across a problem that I can't solve using the (excellent) Jess API.
I want to obtain an object (actually a DAO) from the application that calls Jess which then calls a user function. A Java stack trace allows me to determine the class names but not the class objects of the classes that called Jess which then called the user function. (And I can't think of anything in the reflection package that would give me an object.) Other than using a static variable that contains the object (or a suitable proxy), the only way that I can see to solve the problem is to add the object (or a proxy) to the Jess working memory. (Registering the application, for example with a userID, would still require a token to be added to working memory.) I suspect that this must be common problem in large systems but I can't find anything in the Jess API that will give me an appropriate handle. Any suggestions would be appreciated. Thanks David Scuse Department of Computer Science University of Manitoba
