Re: JESS: Modules
"Wolfgang Laun" <[email protected]>
| Newsgroups | gmane.comp.java.jess |
|---|---|
| Message-ID | <27621_1289502507_oABJ1eIE027687_AANLkTi=UmTcxd04gObZGqerRw3YTMSavyCffCBiGriTn@mail.gmail.com> |
I can only tell you that I find it preferable to exercise session control from a "single side". If it is from a clp file, then I call the fucntions such as (focus) and (run). If it is from a Java program, the Rete methods are used. I try to avoid having flow control in rules; this tends to sneak up on you and catch you unawares when you aren't looking. ;-) -W On 11 November 2010 16:59, Donald Winston <[email protected]> wrote: > But isn't it going to get wiped out during a reset? At the moment I'm using pooled stateless rule bases (using Rete.peer). So I'll have to set the focus using the java api and not inside the rule file. I'd prefer not to do this. > > On Nov 11, 2010, at 8:36 AM, Wolfgang Laun wrote: > >> This (focus) call may not have to be in a rule, it can be done before >> calling (run). > > Donald Paul Winston > [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]. > -------------------------------------------------------------------- > > -------------------------------------------------------------------- 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]. --------------------------------------------------------------------