Fwd: Author Drools Book-Packt Publishing
by Mark Proctor
Seems there might be a 3rd packet book. any takers? :)
Mark
-------- Original Message --------
Subject: Author Drools Book-Packt Publishing
Date: Wed, 13 Jan 2010 15:41:51 +0530
From: Sayama Waghu <sayamaw(a)packtpub.com>
To: mproctor(a)codehaus.org
Hi ,
I’m writing to you for Packt Publishing, the publishers of computer
related books.
We are planning to publish a new book on Drools, titled, Drools
Developer Cookbook.While looking out for some potential authors to write
this book, I came across your profile and saw. that you were one of the
contributor and I also see that you write blogs on Drools.These give me
an impression that you could be a potential author for this book.
Written in a cookbook style, this book will be aimed at Java developers
who already have experience of working with Drools and would like to
learn how to do more stuff with it.
To give you an idea about the way things work at Packt:
-The editorial team at Packt works with the author throughout the project
-We pay a royalty of 16% and an advance against it.
-The marketing team at Packt ensures that the book is well promoted.
-In its ongoing commitment to Open Source, Packt donates a percentage of
revenue generated by the book to the OpenSource project on which it is
based. We have donated more than 100 000 dollars to various Open Source
projects since inception in 2004.
Could you please let me know if you find it interesting to author this book?
Thanks.
--
*Sayama Waghu*
Author Relationship Executive
Packt Publishing
www.PacktPub.com<http://www.PacktPub.com>
Skype: sayama_packt
MSN: sayamaw(a)packtpub.com
Interested in becoming an author? Visit http://authors.packtpub.com for
all the information you need about writing for Packt.
16 years, 2 months
(no subject)
by Nilima R
Hi All
I am new to drools and have started with Drools Guvnor . I am trying to
create DSL based on the sample examples in guvnor.
I have Customer as "declarative fact model" and 2 fields within it
totalItenmsPrice (integer) and discount(boolean)
I have created a DSL which contains the below code.
I need to check if the value of totalItenmsPrice is greater than 100 then
give discount to customer
[when]total cost of purchased items is greater than {num}=cust:Customer(
totalItenmsPrice > {num})
[then]Give discount to customer =cust.setDiscount(true)
and when I specify the value of num as 100 in rule editor it doenst allow.
I am not familiar with DSL syntax .
Can someone plz look into this.
Nilima
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
16 years, 2 months
Re: [rules-users] Drools DSL
by Nilima R
Nilima Rajendra Raichandani
Sub Focus Area Lead - BPM/BAM/BRE
TEG - Open Source Platform
Tata Consultancy Services
Ph:- +91 22 6778 2027
Cell:- 9322108518
Mailto: nilima.r(a)tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
16 years, 2 months
Re: [rules-users] Using multiple spreadsheet files in drools
by djb
I'm a few months late here, but it may be because you didn't give each
rulesheet its own name when you split them up.
dtrinh4000 wrote:
>
> Hi,
>
> I am trying to split my current huge decision table in one excel
> spreadsheet into multiple excel files. However, I am unable to run my
> ruleflow correctly when they are split up.
>
> Although they compile okay when seperated, the only spreadsheet that ever
> gets read is the last one that gets compiled with the drools spreadsheet
> compiler, even though they all get added into the package builder after
> compiling them into a drl.
>
> I've tried to search everywhere for the solution but i'm coming up empty.
> maybe i am not searching w/ the right parameters. How do I split a
> decision table into multiple excel spreadsheets or even workbooks and get
> them to run as if they were all in one single excel file?
>
> Would a better way of phrasing my question be, how do i combine multiple
> spreadsheets into one drl file?
>
> Thanks.
>
--
View this message in context: http://n3.nabble.com/Using-multiple-spreadsheet-files-in-drools-tp60629p1...
Sent from the Drools - User mailing list archive at Nabble.com.
16 years, 2 months
Infinite loop when nesting rules
by orchid
Hi,
I have another question regarding rules nesting. I have the following Rule1
and Rule2 which check some property of Cheese type (I dont want to merge
them into one rule). The "then" part of these rules updates the list field
of class Cheese which holds the rules that were fired for a specific
instance. In Rule3 I want to check if Rule1 and Rule2 were fired:
rule "Rule1"
salience 100
no-loop true
when
$c:Chesse(type="Chedar")
then
modify ($c){addRule("Rule1")}
end
rule "Rule2"
salience 90
no-loop true
when
$c:Chesse(price < 100)
then
modify ($c){addRule("Rule2")}
end
rule "Rule3"
when
$c:Cheese(rules contains "Rule1" && rules contains "Rule2")
then
System.out.println("Rule3 was fired");
end
Rule1 and Rule2 cause infinite loop because of the 'modify' method. How can
I solve that issue?
Thank you very much in advance !!!
--
View this message in context: http://n3.nabble.com/Infinite-loop-when-nesting-rules-tp116764p116764.html
Sent from the Drools - User mailing list archive at Nabble.com.
16 years, 2 months
AUTO: Monikandan, Jagathesh is out of the office. (returning 01/15/2010)
by Jagathesh Monikandan
I am out of the office until 01/15/2010.
Hi,
There may be a delay in my response. For any urgent matter, please contact
Scott Menkes at 212-656-4085
Note: This is an automated response to your message "Re: [rules-users]
Drools Doubt regarding ChangeSet.xml file use" sent on 12.1.10 0:41:00.
This is the only notification you will receive while this person is away.
Visit our website at http://www.nyse.com
****************************************************
Note: The information contained in this message and any attachment
to it is privileged, confidential and protected from disclosure. If the
reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the
sender immediately by replying to the message, and please delete
it from your system. Thank you. NYSE Euronext.
16 years, 2 months
Drools Doubt regarding ChangeSet.xml file use
by Pardeep Ruhil
Hi,
I have a doubt regarding Drools changeSet.xml file.
As in ChangeSet.xml file we define or give the URL/PCK/file Path to read our Rule file or workflow file.
Now Lets suppose I have an application deployed and is runnning using Drools Workflow.
Now I change the workflow file(.rf) file.
So my doubt is:
1. Do I need to redeploy/restart the application as to incorporate the changed workflow ?
2. Will the KnowledgeBase automatically get notified of the change of the workflow ?
3. Will the StatefullKnowledge session object will get notified about the changed workflow or do I need to create
new StatefullKnowledge session ?
I read the documentation , In that I got to know about KnowledgeAgent class, which automatically checks for any change in the workflow/ rule file. i.e. 60 sec(default).
Will this class will fulfill my doubts ?
Thanks & Regards
Pradeep Ruhil
________________________________
This Email may contain confidential or privileged information for the intended recipient (s) If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.
______________________________________________________________________
16 years, 2 months
Upgrade to Drools 5 - loss of performance
by Scott Reed
I just upgraded our app from Drools 4 to 5 libraries. We just use the
rules engine with DRL. The performance of the engine on our rulebase is
unacceptably slow. I assume there is something we need to do to our
rules or the way we are configuring the engine to fix this. I don't see
anything in the release notes about backwards compatibility issues. I
would very much appreciate it if someone would direct me to any
documentation that explains what needs to be done so our 4.0 rules
perform at least as well as they did before the upgrade?
Thanks,
Scott
16 years, 2 months