Escolar Documentos
Profissional Documentos
Cultura Documentos
Who am I?
Drools co-founder
!
JBoss (2005)
!
OptaPlanner
Drools
UberFire
jBPM
Guvnor
Drools-WB
jBPM-WB
KIE-WB
GitHub
URL:
https://github.com/droolsjbpm/
!
Bootstrap project:
https://github.com/droolsjbpm/droolsjbpmbuild-bootstrap
Serious Bits :)
http://www.youtube.com/watch?v=4CvjKqUOEzM
http://www.youtube.com/watch?v=Omj4PR3v-nI
http://www.youtube.com/watch?v=wORlAZoxttA
Technical
Language
CashFlow Rule
select * from Account acc,
Cashflow cf, AccountPeriod ap
where acc.accountNo == cf.accountNo and
cf.type == CREDIT
cf.date >= ap.start and
cf.date <= ap.end
acc.balance += cf.amount
rule increase balance for AccountPeriod Credits
when
ap : AccountPeriod()
acc : Account()
cf : CashFlow( type == CREDIT,
accountNo == acc.accountNo,
date >= ap.start && <= ap.end )
then
acc.balance += cf.amount;
end