OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

cam message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [cam] Drools and CAM?


More thinking out loud - the DROOLS/ GROOVY combo looks an easy play.
 
http://drools.org/Groovy+Semantic+Module 
 
Basically you declare the Groovy namespace - and then you can include Groovy XML syntax right into the middle of your CAM template.  This would be extremely useful for asserting facts during the processing of the
CAM template - and then checking those facts at a later point in the processing.
 
A simple call-out to DROOLS whenever CAM encounters the Groovy: namespace prefix loosk very viable.
I'm not sure what API DROOLS provides at the Java level to facilitate passing in the Groovy XML directly.  That's the next question to research here I guess!

DW

-------- Original Message --------
Subject: [cam] Drools and CAM?
From: "David RR Webber (XML)" <david@drrw.info>
Date: Thu, December 15, 2005 9:43 am
To: cam@lists.oasis-open.org

I've just been reviewing the DROOLS toolset - http://drools.org
 
This seems a useful potential adjunct to CAM for people that need more expressive power than XPath expressions alone can provide.
 
At this point I'm thinking a call-out capability where you can inline DROOLS scripting into the CAM - I'm thinking particularly in the <DataValidation> section where a clause can include <drools-rule> can a hand-off can occur to the DROOLS rule engine at that point.
 
This is fairly complex - but given the extensibility in DROOLS - it looks like a viable option for people.
 
Although - currently we are supporting calls to Java - so that mechanism can support pass-thru to the DROOLS engine - so we may already have this covered.
 
Just thinking out loud a bit here...!
 
DW
 
 
--------------------------------------------------------------------- To unsubscribe from this mail list, you must leave the OASIS TC that generates this mail. You may a link to this group and all your TCs in OASIS at: https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]