Mark Proctor wrote:
you would have to do List() from myList, otherwise it assumes its
reasoning over data asserted into the working memory - hmm I assume that
works, never tried, as I'm not sure its a valid use case - just assert
the object. You can use globals freely in field constraints.
We use our own API which currently only has a jackrabbit impl - although
note that jackrabbit can have several backend types from disk, to memory
to database, where is even a hibernate persistence store. Creating a JCR
like implementation is a lot of work, we chose jackrabbit as it is
Hi all,
i'd like to have following DSL conditions
[condition][]Title contains {value}=title matches {value}
[condition][]Title contains not {value}=title not matches {value}
Currently (using Drools 4.0.3) it seems the parsers resolves to the
first condtion and is matching the word not to
Hi
How to deploy rule in without BRMS in web application (struts) in JBOSS
server...
Thanks in advance
--
View this message in context:
http://www.nabble.com/how-to-deploy-rule-without-BRMS-tf4887452.html#a13989216
Sent from the drools - user mailing list archive at Nabble.com.
Hi
How can I add(deploy) rules in a web application( struts ) without using
BRMS in JBOSS server.
need sample example..
thanks in advance
regards
Rahul Upadhyay
___
rules-users mailing list
rules-users@lists.jboss.org
Additional the problem is:
if i have to conditions like
when
$item1: Item()
$item2: Item()
-Text is $item1.getText()
-Text2 is $item1.getText2()
it resolves to
Item( title matches $item1.getText(, title matches $item1.getText2() ) )
which is absolutly not usable ...
Have you looked at the examples that come with Drools?
Your deployment artefact is simply the DRL (and DSL \ Decision Tables
depending upon your usage); thereafter you use the normal documented
processes to construct a rulebase and working memory.
If you are familiar with web development in
and what about using java code in LHS:
DSL
[condition][]Text is {value}=text matches {value}
Rule1 (works fine)
when
$item: Item()
-Text is Hello World.*
Rule2 (doesn't work)
when
$item1: Item()
$item2: Item()
-Text is $item1.getText()
am i doing sth. wrong or
Hi,
1. If you want to embed the rule engine in your web-app, without using
BRMS, ... embed it as a jar. (see doc and examples)
2. The documentation comping with drools is short but very good, and
very complete. Have seen high priced products in this market with less
understandable doc.
3. This
Markus,
The engine processes the mappings in the order they are written, so you
must always write more restrictive patterns first and less restrictive
patterns second:
[condition][]Title contains not {value}=title not matches {value}
[condition][]Title contains {value}=title matches
Hi All,
In Drool I am injecting one Object array. I want to test the length of
the array is 2 or not. How Can I do that?
Thanks
Sougata
This message contains information that may be privileged or confidential and is
the property of the Capgemini Group. It is intended only for the
ok thanks ...
Markus
2007/11/28, Edson Tirelli [EMAIL PROTECTED]:
Markus,
The engine processes the mappings in the order they are written, so you
must always write more restrictive patterns first and less restrictive
patterns second:
[condition][]Title contains not {value}=title
Hello all
I am using Drools 4.0.3 in my application.
I want to know about the use of org.drools.concurrent package which is in the
drools-core-4.0.3.jar.
What type of concurrent operations I can do by the classes of this package.
Any information will be appreciated.
Thanks.
With Regards
The only reason to use this is to impement an Async executor service,
(see the async methods on the stateful and stateless sessions), If you
don't like the default one you can configure a different once, just
follow the existing designs and interfaces for the
DefaultExecutorService - the used
Markus Helbig wrote:
Hi,
is there any possibility to get the compiled java code of the rules
... could be helpful for several reasons ...
There is no public api for this. If you are adventurous you can use the
internal stuff
PackageCompilatData data = pkg.getPackageCompilationData(); //
Hi,
The package can be serialized. See manual: deployment options.
The package can also be downloaded from the BRMS.
Hope this helps,
Darko Ivancan
On 28/11/2007 13:58, Markus Helbig wrote:
Hi,
is there any possibility to get the compiled java code of the rules
... could be helpful for
All,
I have a rule that I'm trying to run against, but I'm getting a
duplicate parameter error that doesn't make much sense to me. Here is
the rule:
rule Daily Core Hours
ruleflow-group maxiflex-messages
when
ScheduleDay($day: day, $schedIn: timeIn, $schedOut:
that's right, but can you read bytecode? Or is there a way to
serialize into pure Java Code,
i think i'll try the way Mark provided ...
Cheers
Markus
2007/11/28, Darko IVANCAN [EMAIL PROTECTED]:
Hi,
The package can be serialized. See manual: deployment options.
The package can also be
First of All...*Environment: Drools BRMS 4.0.3, JBossAS 4.2.2, MySql 5*
Hi Guys,
It's making me waste all the day trying to set
JNDIDatabasePersistenceManager as mysql-repository persistence manager.
I show u the issue...
*In MySql I've got an empty brms-db schema.*
*In JBoss default
Hi,
Obviously Mark's suggestion is better.
Anyway: Seen, that the BRMS gives you a package (as .pkg) and the
RuleAgents can load those files and Packages are Serializable, I think
you want to investigate also in this possibility, by looking how current
DRools code is doing this job.
Darko
On
After doing some more tinkering, it doesn't seem I can reference
anything in the accumulate conditional unless it comes from the pattern
or init section of that accumulate conditional. I can not reference
globals or pattern bound variables from the rule (outside of accumulate)
or I get a
Hi,
Still i have the problem with update(org.drools.FactException: Update error:
handle not found for object).
i read the manual and found one statement The update() method can only be used
with objects that have shadow proxies turned on.
i don't understand this. how to check proxy for my
now i tried Mark's suggestion but this is also just bytecode i get ...
ok with byte code it would be possible to decompile ...
Cheers
Markus
2007/11/28, Darko IVANCAN [EMAIL PROTECTED]:
Hi,
Obviously Mark's suggestion is better.
Anyway: Seen, that the BRMS gives you a package (as .pkg) and
23 matches
Mail list logo