Edson wrote:
Right now, Drools uses JUnit for all its unit and integration tests. Take a
look at the integration tests and I think you will figure out:
http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-compiler/src/test/java/org/drools/integrationtests/
Thanks for the link but I
Mark Proctor wrote:
You don't have your DRLs in the correct location, our DRLs mirror the path of
the class that is loading them via getClass().getResourceAsStream():
http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-compiler/src/test/resources/org/drools/integrationtests/
It
I'm sure other people have run into this. I'm trying to build a unit test that
checks the compilation of an external .drl file. My questions are: How do I
get the compiler to locate all the .class files that I reference? When JUnit
runs, where does it run from or how can its runtime
Mike,
I think the collect will work, I'll have to look at it more closely because the
ordering of elements in the array is significant so I'm not sure I can just
break the elements up into facts and let collect group them however it will.
As a follow up, while my solution of using a global in
Greetings!
I want to create a rule that checks a fact which contains an array to see if n
or more of the elements of that array have a specific value. The number of
elements to check will vary from invocation to invocation of the rules engine
and will likely be added as a global.
I can do
a realistic solution.
Any thoughts?
Thanks
Eric
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ron Kneusel
Sent: Thursday, June 26, 2008 12:47 PM
To: rules-users@lists.jboss.org
Subject: [rules-users] Drools 4 poor performance scaling
as to why it
doesn't work quickly.
Again, any help appreciated!
Ron
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ron Kneusel
Sent: Thursday, June 26, 2008 12:47 PM
To: rules-users@lists.jboss.org
Subject
I am testing Drools 4 for our application and while sequential mode is very
fast I get very poor scaling when I increase the number of facts for stateful
or stateless sessions. I want to make sure I'm not doing something foolish
before deciding on whether or not to use Drools because from
Mark Proctor wrote: 1. Do stateless sessions execute faster than stateful?
I'm assuming that even if they don't, they use memory more efficiently?
no. not unless you set sequential mode, but even then it's only faster if you
have a very large number of facts.Mark, thanks for the reply.
Greetings!
I'm using Drools 4 and have a simple test setup with 4 rules. If I run with a
few facts (simple objects that hold a type and a floating point value only)
everything works as advertised. If I bump the number of facts up to 100 it
runs most of the time without changing the defaults
Greetings!
I read through the manual, but it is a little too terse regarding when one
might choose Stateless versus Stateful sessions. My initial testing has been
with Stateful sessions and these work nicely but memory use explodes as the
number of facts added increases much beyond 100.
So,
Greetings!
I am attempting to run the HelloWorld example for Drools 4. I have Eclipse 3.3
setup on Windows with the Drools plugin. I have created a project with the
Drools examples and added all the Drools .jar files to the project. Everything
compiles. When I initially ran
12 matches
Mail list logo