|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
JESS: JSR-94 and JessListenerI'm trying to use Jess in a JSR-94 environment, as described in the Jess documentation. Am I right to assume that currently there is no way to attach JessListeners to the underlying Rete object?
The JSR-94 API doesn't specify anything in that regard and short of fiddling with jess.jsr94.RuleServiceProviderImpl itself, I don't see a way to add event listeners. So - if I want event handling, I can't use the javax.rules API? Thank you for any insights here, Jörg Henschel -------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users you@...' in the BODY of a message to majordomo@..., NOT to the list (use your own address!) List problems? Notify owner-jess-users@.... -------------------------------------------------------------------- |
|
|
Re: JESS: JSR-94 and JessListenerunfortunately, JSR94 is very limited and isn't worth the hassle. it's
really there so that vendors can check off "JSR94" from their list. JSR94 really has no value, so just use JESS API directly. peter 2009/5/8 Henschel, Jörg <J.Henschel@...>: > I'm trying to use Jess in a JSR-94 environment, as described in the Jess documentation. Am I right to assume that currently there is no way to attach JessListeners to the underlying Rete object? > > The JSR-94 API doesn't specify anything in that regard and short of fiddling with jess.jsr94.RuleServiceProviderImpl itself, I don't see a way to add event listeners. > > So - if I want event handling, I can't use the javax.rules API? > > Thank you for any insights here, > Jörg Henschel > > > > -------------------------------------------------------------------- > To unsubscribe, send the words 'unsubscribe jess-users you@...' > in the BODY of a message to majordomo@..., NOT to the list > (use your own address!) List problems? Notify owner-jess-users@... To unsubscribe, send the words 'unsubscribe jess-users you@...' in the BODY of a message to majordomo@..., NOT to the list (use your own address!) List problems? Notify owner-jess-users@.... -------------------------------------------------------------------- |
|
|
Re: JESS: JSR-94 and JessListenerHarsh words have been said about JSR-94, which I won't repeat here.
One advice to give here is that you might design your own interface to maintain potential portability to some other rule based system. -W 2009/5/8 Henschel, Jörg <J.Henschel@...> > I'm trying to use Jess in a JSR-94 environment, as described in the Jess > documentation. Am I right to assume that currently there is no way to attach > JessListeners to the underlying Rete object? > > The JSR-94 API doesn't specify anything in that regard and short of > fiddling with jess.jsr94.RuleServiceProviderImpl itself, I don't see a way > to add event listeners. > > So - if I want event handling, I can't use the javax.rules API? > > Thank you for any insights here, > Jörg Henschel > > > > -------------------------------------------------------------------- > To unsubscribe, send the words 'unsubscribe jess-users you@...' > in the BODY of a message to majordomo@..., NOT to the list > (use your own address!) List problems? Notify owner-jess-users@... |
|
|
Re: JESS: JSR-94 and JessListenerThe Jess language function "(engine)" returns the Rete object that the
Jess code is executing in, so you should be able to use that. If you used a minimal amount of Jess code to store that engine reference someplace, then you could do the reset of your listener registration from Java code. On May 8, 2009, at 7:21 AM, Henschel, Jörg wrote: > I'm trying to use Jess in a JSR-94 environment, as described in the > Jess documentation. Am I right to assume that currently there is no > way to attach JessListeners to the underlying Rete object? > > The JSR-94 API doesn't specify anything in that regard and short of > fiddling with jess.jsr94.RuleServiceProviderImpl itself, I don't see > a way to add event listeners. > > So - if I want event handling, I can't use the javax.rules API? > > Thank you for any insights here, > Jörg Henschel > > --------------------------------------------------------- Ernest Friedman-Hill Informatics & Decision Sciences Phone: (925) 294-2154 Sandia National Labs PO Box 969, MS 9012 ejfried@... Livermore, CA 94550 http://www.jessrules.com -------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users you@...' in the BODY of a message to majordomo@..., NOT to the list (use your own address!) List problems? Notify owner-jess-users@.... -------------------------------------------------------------------- |
|
|
Re: JESS: JSR-94 and JessListenerwriting your own rule engine wrapper is simple, so that is definitely
a better solution than using JSR94. I've done that several times since 2000. On Fri, May 8, 2009 at 9:59 AM, Wolfgang Laun <wolfgang.laun@...> wrote: > Harsh words have been said about JSR-94, which I won't repeat here. > > One advice to give here is that you might design your own interface to > maintain potential portability to some other rule based system. > > -W > > > 2009/5/8 Henschel, Jörg <J.Henschel@...> > >> I'm trying to use Jess in a JSR-94 environment, as described in the Jess >> documentation. Am I right to assume that currently there is no way to attach >> JessListeners to the underlying Rete object? >> >> The JSR-94 API doesn't specify anything in that regard and short of >> fiddling with jess.jsr94.RuleServiceProviderImpl itself, I don't see a way >> to add event listeners. >> >> So - if I want event handling, I can't use the javax.rules API? >> >> Thank you for any insights here, >> Jörg Henschel >> >> >> >> -------------------------------------------------------------------- >> To unsubscribe, send the words 'unsubscribe jess-users you@...' >> in the BODY of a message to majordomo@..., NOT to the list >> (use your own address!) List problems? Notify owner-jess-users@... -------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users you@...' in the BODY of a message to majordomo@..., NOT to the list (use your own address!) List problems? Notify owner-jess-users@.... -------------------------------------------------------------------- |
|
|
Re: JESS: JSR-94 and JessListenerThank you for your input, I suspected as much. Personally, I'm not too convinced of the JSR-94 usefulness either, but I just wanted to be clear on some of the restrictions it would impose.
- Joerg -----Ursprüngliche Nachricht----- Von: owner-jess-users@... [mailto:owner-jess-users@...] Im Auftrag von Wolfgang Laun Gesendet: Freitag, 8. Mai 2009 16:00 An: jess-users@... Betreff: Re: JESS: JSR-94 and JessListener Harsh words have been said about JSR-94, which I won't repeat here. One advice to give here is that you might design your own interface to maintain potential portability to some other rule based system. -W 2009/5/8 Henschel, Jörg <J.Henschel@...> > I'm trying to use Jess in a JSR-94 environment, as described in the Jess > documentation. Am I right to assume that currently there is no way to attach > JessListeners to the underlying Rete object? > > The JSR-94 API doesn't specify anything in that regard and short of > fiddling with jess.jsr94.RuleServiceProviderImpl itself, I don't see a way > to add event listeners. > > So - if I want event handling, I can't use the javax.rules API? > > Thank you for any insights here, > Jörg Henschel > > > > -------------------------------------------------------------------- > To unsubscribe, send the words 'unsubscribe jess-users you@...' > in the BODY of a message to majordomo@..., NOT to the list > (use your own address!) List problems? Notify owner-jess-users@... -------------------------------------------------------------------- To unsubscribe, send the words 'unsubscribe jess-users you@...' in the BODY of a message to majordomo@..., NOT to the list (use your own address!) List problems? Notify owner-jess-users@.... -------------------------------------------------------------------- |
| Free embeddable forum powered by Nabble | Forum Help |