Nicolas Fortin wrote:
Hello everybody,
I am wondering if it is possible to randomize the firing order,
You can create an object that implements the jess.Strategy interface, see:
http://herzberg.ca.sandia.gov/jess/docs/70/api/jess/Strategy.html
You will implement the compare() method and
[EMAIL PROTECTED] wrote:
I think Jeffrey Davine wrote:
I'll do the research, but as a general matter, do you think the Jess API
exposes enough information (particularly concerning the rete tokens) so that
I could write such a tool?
Alan's more optimistic, but I myself don't think this can
Jeffrey,
I created a debugger quite a few years back (Jess version 4.xx) that I
have not maintained. I'd have to locate the media it is archived onto
but I've been wanting to resurrect it.
It didn't do exactly what you want and it was pretty crude since it was
fronted by the Windows
Eunice,
Please provide the exact code and error messages you are getting. Please
try to figure out whether the problem is with Protege, JessTab and/or
Jess before posting to this list.
For example, copy key portions (e.g. function names, exception names) of
the stacktrace you are getting
Henrique Lopes Cardoso wrote:
Hi,
I have two problems.
--- The first:
I have a string which contains an atom. How do I convert it to an atom?
I tried this,which works:
(bind ?string henrique)
(nth$ 1 (explode$ ?string))
Is there a simpler way?
I can't think of any at the
Or more simply:
(assert (a nice string))
(assert (b nice)) ; note: nice (in quotes) won't work
(defrule r1
(a ?x)
(b ?y:(member$ ?y (explode$ ?x)))
=
(printout t Found! crlf)
)
(run)
i.e. a non-zero value from (member$) evaluates in the pattern above like
a TRUE - or like (neq
Also, in testing.clp, you can place the following code to help you debug
the exception:
;; untested...ymmv
(try
(bind ?user-agent (new User harvey))
catch
;; ?ERROR will be the caught throwable
(printout t ERROR = (?ERROR toString) crlf)
(printout t cause = ((?ERROR getCause)
Scott,
Someone else is likely to have a more relevant answer but I thought I'd
give my 2 cents worth - it's been a while (15 years?!) so I hope I can
remember this correctly...
During my graduate studies I worked with Dr. Len Myers and others at
CalPoly SLO on a BB based system that used
Matt,
Whoops, sorry - I didn't see your attachment.
alan
[EMAIL PROTECTED] wrote:
In the screenshot, you show that you've defined two classpath
variables, one named source pointing to the source directory, and
one named jess pointing to jess.jar. This is no guarantee that
you've *used* those
First, let me mention that I'm happy to see someone using the
brand-new static imports feature -- the thing that lets you use
(CarClass.MINI) as a constant.
[alan]
Nice, this makes things a *lot* cleaner. Thanks!
Third, let me mention, as I often do on this list (I really need to
make this
Yuri,
You can use any/all facilities that Java has for matrices since Jess has
full (reflective) access to the Java/third-party matrix APIs - see:
http://math.nist.gov/javanumerics/jama
If you want to pattern match against elements in a matrix, you can use
multifields or ordered facts. For
Felix,
You have not given us much information about your problem so we will need more
detailed information before we can help you.
In general:
1) If you have one thread that has called the Rete#runUntilHalt() method,
calling the halt() method (on another thread), or having one of your Jess
Try this:
(deftemplate Person
(slot Name (type STRING))
(multislot Ancestors)
)
(assert
(Person (Name a)
(Ancestors (assert (Person (Name b)))
(assert (Person (Name c)))
)
)
)
(defrule removePersonReferences
(remove-person ?name)
?person -
Warning: HTML/RTF email - sorry for the broken mailer. I *promise* to get this
fixed ASAP.
There are several problems with your logic here:
1) Your rule should have triggered an endless loop of firing default-rule
because the RHS modifies a fact matched on the LHS. See the Jess docs for the
I'm not sure I'm getting your question properly but servlets are
generally associated with web based interfaces and not standalone GUI
clients.
In any case, if you are using servlets, I suggest that you maintain a
Rete object instance in your HttpSession. If your application needs to
scale to
Your description doesn't specify whether or not you are using console
input or a swing/GUI or the hosting/container environment (e.g.
browser/applet, java application, web services etc.) but I think you
will find it easy to integrate Jess into just about any application.
Your subject line
Jess 7.0 also provides a way to create rules via XML (JessML) which,
depending on your requirements, may be the easiest (and possibly the
slowest) way to go.
See:
jess.xml.JessSAXParser
and:
Jess70a4\examples\xml\sticks
Jess70a4\examples\xml\mab
I've not used this feature (yet) but I
To return more than one column value in a single UserFunction#call, you can
create a container Value object and place all your returned columns into it.
For example, your #call method could return:
1) A plain-old-java Iterator/array/Collection, etc. (RU.EXTERNAL_ADDRESS) that
contains your
I don't know if this will help but you might try enclosing your file path in
double quotes:
(batch /home//rulebase.clp)
alan
__
Bleib immer locker
From: [EMAIL PROTECTED] on behalf of Nicolas Fortin
Sent: Wed 3/16/2005 6:06 AM
To:
WARNING: HTML/RTF message - sorry, my crappy company provided mail client is
broken and can't send text/plain... D-;
Depending on the URI you pass into the (batch) command, you will read data from
either a FileInputReader (file path) or from an InputStreamReader (URL). Either
way, I think you
2) can scan a very large database trying to find exceptions
[alan]
The jess user contrib library:
http://herzberg.ca.sandia.gov/jess/user.shtml
has excellent framework written by Thomas Barnekow that you might want
to take a look at.
3) where the rules used to identify exceptions can be
To trap jess events, such as rule firing, facts asserting, etc. see:
http://herzberg.ca.sandia.gov/jess/docs/61/api/jess/JessListener.html
alan
__
Bleib immer locker
From: [EMAIL PROTECTED] on behalf of Andreas Holzbach
Sent: Tue 2/22/2005
Without the exact error message you are getting it is hard to help you. Can you
please include your error message.
It is possible that your classpath is pointing to an older version of your
NamePAss class which does not contain the buildConstraints method. You might
consider searching your
Uh, hold the phone... that class is supposed to be in JDK 1.4.2 and
that's what I *should* be running against.
I'll check my environment again.
alan
-Original Message-
From: Alan Moore
Sent: Monday, September 27, 2004 3:08 PM
To: '[EMAIL PROTECTED]'
Subject: Jess dependency
I've done some reading about Jess and it looks like it's powerful enough
to express the sort of rules we need in this project. For example, what
the sensors should do when the river depth goes about a certain level
and stuff like that. However, I haven't actually used Jess yet so is
Jess really
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, September 03, 2004 10:52 AM
To: [EMAIL PROTECTED]
Subject: Re: JESS: Muilti-line comments
Another thing I will do in the engine is provide rule
properties; you
Title: RE: JESS: forall conditional element
Did you do a (reset) before (run)?
alan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Nicolas Fortin
Sent: Monday, August 16, 2004 12:16 PM
To: [EMAIL PROTECTED]
Subject: JESS: forall conditional
Title: RE: JESS: (reset) and (initial-fact)
Could you introduce a new constructor with a switch controlling this behavior? The existing constructor could maintain the old behavior and anyone wanting the new behavior could use it explicitly.
Alternatively, could you have a derived Rete (or
Title: RE: JESS: Charlemagne info
Sweet! Can't wait... uh, er, I guess I have to.
alan
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of
[EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 2:35 PM
To: Jess Mailing List
Subject: JESS:
Title: RE: JESS: Very simple defquery question
JZ,
http://herzberg.ca.sandia.gov/jess/docs/61/language.html#queries
This section of the manual has both a jess and java version of iterating through the query results - scroll down a bit, if necessary, to see the java code.
See also:
Title: RE: JESS: Least favorite error messages
The worst error message is a silent failure...
Here's one:
Given a java class named Disbelief with a boolean property called really:
(defrule jess-rules
(Disbelief (really FASLE))
=
)
The parser doesn't detect that the misspelled FASLE
Title: RE: JESS: ant task for checking rule file syntax
If your script to be checked does not call (run) or (run-until-halt) and contains primarily deffunction/defquery/defrule statements you can try:
target name=checksyntax
java classname=jess.Main classpath=jess.jar:other.jar
arg
Title: RE: JESS: Optimization Question
Also, the following *might* be even faster - TBD:
(defrule prevent-logout
(ActionForward (path ?url:(neq (str-index Logout.do ?url) FALSE)))
=
)
You can move the _expression_ in the (test) up into the pattern if your _expression_ doesn't depend on
Title: RE: JESS: Java bean binding and definstance
First, the first argument to rete.definstance() (ds in the example below) must match the name you give in the first argument to the (defclass) (dimmer in the example below.)
Second, in order to bind to an object you have definstanced, you
Title: RE: JESS: JESS and instances
How can I share facts between different instances of Rete?
You can duplicate them, but not share them.
However, you can share (via definstance) an instance of a java object between two instances of Rete. Your question was about facts which, as Ernest
Title: Minor documentation error
The users manaual has a small error. See section 8.75 - the get-salience-evaluation function is listed without () chars...
8.75. get-salience-evaluation
should be:
8.75. (get-salience-evaluation)
alan
Title: Context.push()
I'm trying to do the following:
Context functionContext = engine.getGlobalContext().push();
functionContext.setVariable( xyz, new Value(myObj) );
Value retval = function.call(vv, functionContext);
Object realRetval =
Title: RE: JESS: Listening to Jess Events
3. Instantiate a Rete object with engine = new
Rete(Someclass.class) to register the context with engine.
[alan]
This isn't required to sink jess events. This constructor is for applets or EJB-style containers (I think.)
3.
Register that
error in the LHS of one of your rules.
I meant RHS of one of your rules. Of course, it is possible that there is an error on the LHS as well but that is more rare.
alan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Alan Moore
Sent: Tuesday, June 01
Title: RE: JESS: Newbie Question: Pattern Matching ordered facts
Try:
(deftemplate commitment
(slot debtor)
(slot creditor)
(slot cond)
)
(assert (commitment (debtor Amit) (creditor Jane) (cond money)))
(defrule resolve-commitment
(commitment (cond ?x))
=
(printout t resolved crlf
Title: RE: JESS: Java Beans
What I need is to have a Java program, may or may not be a
bean, load Jess and a set of rules and 'pass' some object, a
DOM document is a good example, and have the rules process
the object.
The manual has several places where this is documented, see:
Title: RE: JESS: Java Beans
If that is the case, why is the listener required in any scenario?
If the bean's properties are changed by your java code, jess needs to know about it. Unless your java code calls Rete#modify(), not likely, your bean will need to inform jess via the bean's
Title: RE: JESS: keeping jess in a different file?
I use a main.jess (or main.clp if you prefer) in a well known location and my java code just tells jess to parse that file.
In main.jess, I (batch xyz.jess) all the other rules/files that might be needed.
alan
-Original Message-
Title: RE: JESS: Re: Charlemagne engine preview
Also, is there any pre-release documentation on the use of the
single-slot-activation feature?
Download the software, and look in the release notes from the manual:
The slot-specific declaration for templates. Deftemplate
definitions can
Title: RE: JESS: Jess Examples
Robert,
I can't share my code with you because it is the property of my employer.
If you have a specific problem, go ahead and post it to the list and often times you will get sample code in a response.
Also, troll the list archives as there is a lot of
Title: RE: JESS: JESS web service
I've created web services (e.g. SOAP services) that use jess internally but there is nothing special about them. The code that uses jess is just like any other java program, just that it is invoked via a SOAP packet.
I used Apache Axis to create the
Way back in the day (circa 1990), I worked on the ICADS (now called CADRC)
project at CalPoly SLO that did similar things for Architectural design CAD
systems. Pretty cool...
See:
http://www.cadrc.calpoly.edu/
I'm sure this can be done for other domains as well.
alan
-Original
Not sure if this helps you but...
While (deffunctions) cannot be overloaded, you can write a Userfunction (in
Java) which receives a variable number of arguments via the ValueVector
parameter.
alan
-Original Message-
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 11/21/2003 5:34 AM
For a graphical view of a modern Rete network try:
(load-package jess.ViewFunctions)
(view)
alan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Dusan Sormaz
Sent: Wednesday, November 05, 2003 4:50 PM
To: [EMAIL PROTECTED]
Subject: Re: JESS: Help on Jess
With just the (printout) command, I was able to print the values on the
webpage. But after adding the codes to execute a clips file, the
following error came up.
org.apache.jasper.JasperException: Error on input stream
[alan]
A full stack trace (including nested cause) would help us help
Good to see Jess getting wider exposure. Are you going on a speaking tour
next?
How about a series of No Fluff, Just Jess conferences ;-D
alan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2003 1:55 PM
To: Jess Mailing List
Subject:
Right on. Good interview - I like the bits about back to the future ;-D
Speaking of the future, I was lurking on aosd-discuss and the discussion:
http://aosd.net/pipermail/discuss/2003-August/000887.html
was about event vs. aspect oriented programming and I posted asking about
how those compare
This might be a good application for aspects (e.g. aspectj) or any of the
various byte code weaving tools.
I've often thought about jess' requirement on definstanced (dynamic) objects
to implement property change events. This *could* be implemented at runtime
by byte code weaving for existing
Use(defquery)
See
the manual:
http://herzberg.ca.sandia.gov/jess/docs/61/language.html#queries
or the
JIAbook section 17.7
alan
-Original Message-From: Jim VanDragt
[mailto:[EMAIL PROTECTED]Sent: Thursday, September 11,
2003 10:09 AMTo: [EMAIL PROTECTED]Subject: JESS:
Finding
Correction:
JIA book section 17.7
should read:
JIA book section 7.7
As it turns out, section 17.7 also discusses (defquery) - a lucky
coincidence.
alan
-Original Message-
From: Alan Moore
Sent: Thursday, September 11, 2003 10:44 AM
To: '[EMAIL PROTECTED]'
Subject: RE: JESS: Finding
ordering woes
I think Alan Moore wrote:
I've employed this pattern repeatedly and it works like a charm. Throw
in a
FutureResult for good measure and you've got a fast, reliable,
thread-safe
system.
This is indeed a good way to get the grouping semantic we're talking
about; I did want
Would it be possible to have the (import) function fail or give a warning
when the specified package and/or class doesn't exist. Currently,
(import com.package.doesnt.exist.MyMispeledClass)
doesn't give any indication that something is wrong.
alan
Alan Moore - mailto:[EMAIL PROTECTED
My only concern is whether to expose the complexity to the user. On
the one hand, control is good; on the other hand, hard-to-understand
features don't get used. Here, I'm tempted to simply make the entire
RHS of every rule atomic in this sense, w.r.t. the agenda, because,
consider this: no
Sorry to revisit this issue but I had a couple of comments. See below.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, August 25, 2003 8:12 PM
To: [EMAIL PROTECTED]
Subject: Re: JESS: Defrule ordering woes
snip/
Now, the underlying Jess behavior that
Another question...
Given patterns like:
(defclass MyObject com.myco.MyObject (activate PER-SLOT))
(defrule does-this-match
(MyObject)
=
)
(defrule should-activate-when-object-exists
(other)
(not (MyObject))
=
)
How would these patterns work? Since *no* slots are mentioned it isn't
The new Jess in Action book has a number of examples that can help you.
The hardcopy isn't available yet, but the e-book works great for me!
alan
-Original Message-
From: PECK, JOSH (SBCSI)
To: '[EMAIL PROTECTED]'
Sent: 7/21/2003 7:01 AM
Subject: JESS: Newbie problem description and
I prefer NetBeans (http://www.netbeans.org) primarily because it does other
things besides java, e.g. .jsp/html editing.
Maybe I haven't downloaded all the right bits for eclipse so there might be
some plug-ins I don't know about yet.
alan
-Original Message-
From: [EMAIL PROTECTED]
To:
try:
(bind ?x (call Integer parseInt 25))
(disclaimer: not tested - your mileage may vary)
alan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 12:44 PM
To: [EMAIL PROTECTED]
Subject: JESS: Convert a string to integer
Hi all,
This
You could assert a checkpoint fact, such as (checkpoint ?timestamp), and
then later retract all facts asserted after this timestamp by comparing the
fact-id of the checkpoint fact.
This technique assumes:
a) fact-id's are increasing numeric values
b) you haven't reached the max fact-id value
You can certainly debug Jess under any Java debugger, but obviously
you're going to be debugging at a low level. Our friend Alan Moore was
workign on a Jess debugger at one point; not sure what happened to
that project, Alan?
[alan]
I have written several versions of this.
The coolest one
Also, for simple stop when this statement is reached kinds of debugging, I
have resorted to creating a userfunction called, not surprisingly,
(breakpoint).
In this userfunction, I set a breakpoint in the java call() method and
anywhere it is encountered in the jess script, it stops in my java
All java based debuggers work with java only. So that means that you can
debug the jess engine itself (obviously) but not jess script/code.
There are new features of the java jvm/debugging api's/class file format
that allow non-java languages that compile down into java to be debugged at
the
Jeff,
My two cents worth and likely stating the obvious...
Once you decide that you want to use a rule engine, be sure your execution
is as good as your decision. Some things that can help are:
Make a clear distinction between policy and mechanism -- which is just
another way of saying that you
meant
in
the paragraph below, but I just thought I'd have one final comment and then
go
get my third cup of coffee for the day. It's 3:20 and I deserve it.
Alan Moore wrote:
Try not to let your rules don't rely too much on implicit control
structures,
like salience for example. Take the time
help identify the problem without my
having to cook up another bean/threaded example.
alan
Alan Moore - mailto:[EMAIL PROTECTED]
Ciphergen Biosystems - http://www.ciphergen.com
To unsubscribe, send the words 'unsubscribe jess
()...
BTW - your newly updated online user manual has the following date:
Version 6.1b2 (24 February 2003)
alan
Alan Moore - mailto:[EMAIL PROTECTED]
Ciphergen Biosystems - http://www.ciphergen.com
To unsubscribe, send the words
a lock object (or some other mechanism) I can use to
make sure my access to the API is safe?
alan
Alan Moore - mailto:[EMAIL PROTECTED]
Ciphergen Biosystems - http://www.ciphergen.com
To unsubscribe, send the words 'unsubscribe jess
I like the getCurrentActivation() idea. I imagine people could get into
all kinds of mischief with that :)
I was thinking of mischief but didn't want to mention it for fear it
wouldn't happen for just that reason...
alan
To
How about returning the rule itself? An alternative would be to return the
current activation.
My 2cts...
alan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 29, 2003 5:33 PM
To: [EMAIL PROTECTED]
Subject: Re: JESS: How to get rule name
Also, you could do one of the following within the Userfunction:
1) definstance your ResultSet object.
2) definstance application specific objects based on the data in your
ResultSet.
3) assert the ResultSet data/rows as facts.
#1 is pretty useless as you can't pattern match against the row data
Change your rule to:
(defrule tcr2
(tc (status fail) (OBJECT ?tc))
=
(printout t Found match for status=fail crlf)
)
Matching Strings on the lhs must be enclosed in quotes.
alan
-Original Message-
From: Bijal Modi [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 18, 2002
I think Bonnet was asking about property change/bean events - did I misread
the question?
alan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, December 11, 2002 8:16 PM
To: [EMAIL PROTECTED]
Subject: Re: JESS:
Congratulations!
alan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 12, 2002 3:02 PM
To: [EMAIL PROTECTED]
Subject: JESS: Jess in Action book announcement
Hi Folks,
Manning Press has put up a web page for Jess in Action, including a
think Alan Moore wrote:
Please help me understand when the automatic conversion is done
and when it
is not.
LHS matching is done as if by the (eq) and (neq) functions. These do
no conversions at all, and so values match in content and type.
Conversion of function arguments
See manual section 4.1 re: getNextException() -- Jess is telling you
that it called a Java method via reflection, and it threw an
exception. You have to call getNextException.printStackTrace() to see
it -- it will probably give you a clue!
Would it be more appropriate for Jess to throw an
, and Jess will use it. You really
need to get the JavaBeans spec from Sun to understand how to write
one, but it's pretty easy.
I think Alan Moore wrote:
[Charset iso-8859-1 unsupported, filtering to ASCII...]
I had a similar problem recently definstancing an object with a
getSnapshot
Is it possible that you asserted the same Fact object/instance into two
different engines?
alan
-Original Message-
From: Gang Liu [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 24, 2002 11:10 AM
To: [EMAIL PROTECTED]
Subject: Re: JESS: multiple Rete Engine.
Thanks
My
But wait - there's more...
After further investigation, the getNextException method on ?ERROR returns
the following:
java.lang.ClassCastException: java.lang.String
I think the problem may be in my code. I think my own code is throwing this
exception and being bubbled up through the
1:03 PM
To: [EMAIL PROTECTED]
Subject: Re: JESS: Defect (?) report
I think Alan Moore wrote:
Jess reported an error in routine call
while executing (call ?futureResult get)
while executing (bind ?result (call ?futureResult get)).
Message: Called method threw
Does anyone have a good technique for pausing rule firing?
I tried to search the archives but the search function is broken at the
moment...
Here is my setup and requirements:
1) thread #1 calls runUntilHalt() in order to keep the engine running. The
intent is to call halt() only when the
After reading:
http://www.mail-archive.com/jess-users@sandia.gov/msg04691.html
the answer to a) and b) are pretty clear - sorry for the redundant
questions.
alan
-Original Message-
From: Alan Moore
Sent: Thursday, September 19, 2002 2:15 PM
To: '[EMAIL PROTECTED]'
Subject: RE
Ernest,
From my experience debugging some jess code, I noticed that a
NumberFormatException is thrown on a somwhat regular basis during parsing. I
assume that some part of the parser is checking to see if a symbol is a
number or not in order to determine RU.XXX types.
Do you know how much, or
rete = new Rete();
try
{
[alan]
Can you do this here?
Class clazz = Class.forName(Session);
My guess is that this doesn't work.
rete.defclass(userSession, Session, null);
}
catch(Exception e)
{
System.out.println(ERROR IN DEFCLASS:
try:
Iterator it = rete.listDefrules();
while( it.hasNext() )
{
Defrule defrule = (Defrule)it.next();
String ruleText = new jess.PrettyPrinter( defrule ).toString();
System.out.println(- + ruleText + -);
}
Note: this code has not been compiled/tested but should be a start...
Good
Greetings,
This is going to sound really dumb...
I have a SimpleBean that has two properties property1 and property2. I also
have two rules each matching one of the properties.
When one of the properties changes, both rules fire even though only one
pattern has a reference to the changed
The url you sent looks wrong, it should be:
http://www.csee.umbc.edu/~finin/papers/iswc02/iswc02.pdf
but this one gives the following:
You don't have permission to access /~finin/papers/iswc02/iswc02.pdf on this
server.
alan
-Original Message-
From: tim finin [mailto:[EMAIL
I don't know if there is a problem beyond what is described in Ernest's
earlier post but this should clear some things up for you (I am including
the post here since I couldn't find a link to it in the archives... go
figure):
Good luck!
alan
Ernest's post from 7/3/02
Hi,
Well, this
Your code has two declarations for the variable r, one is static at the
class level and the other is local to the try/catch block in main.
When your code in main uses the locally scoped variable which you set via
new Rete(). The other is never set but used by the method mytest().
Good luck!
Indeed I have noticed that the entity name, scott-dept was prepended
by Main::, which made the system complain with some lame remarks :-)
This is bad, very bad hacking, but it did the trick. I
realize, however,
that this shouldn't have happened in the first place. Any clues ?
The
: RE: JESS: facts and persistence
le jeu 23-05-2002 à 23:47, Alan Moore a écrit :
Indeed I have noticed that the entity name, scott-dept
was prepended
by Main::, which made the system complain with some
lame remarks :-)
This is bad, very bad hacking, but it did the trick. I
Bob - Just Do It(tm)!!!
Ernest - was that enough?
alan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of [EMAIL PROTECTED]
Sent: Wednesday, May 01, 2002 4:31 PM
To: [EMAIL PROTECTED]
Subject: Re: JESS: JESS book?
I think S F Palu wrote:
[Charset
Title: RE: JESS: JESS & EJB
-Original Message-From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
rhalsey007Sent: Tuesday, March 19, 2002 3:45 PMTo:
[EMAIL PROTECTED]Subject: JESS: JESS EJB (The saga
continues)
Hi all,
Well, after much churning with
All:
My apologies to the list for a broken mouse button and the resulting
spurious email. I've been meaning to get another one...
rhalsey007:
In response to your post, I have a crude prototype of a Jess Web Service
wrapper/engine in the works that is essentially a mapping into the Jess
Ng Kia Bee,
Each rete instance holds a context that includes not only your facts but
also your rules. Depending on how you are organizing your system and your
purpose, you may or may not need separate rete instances.
In many simple cases one instance works just fine. However, if you need to
Try:
Boolean ret = new Boolean(true);
return new Value( ret, RU.EXTERNAL_ADDRESS );
Jess does not have a boolean in it's type system like it does for int and
long. It does have the generic EXTERNAL_ADDRESS which can be any Object
including Boolean. See the javadoc for the class RU or RU.java or
1 - 100 of 151 matches
Mail list logo