[rules-users] Assert an xml

Mark Proctor mproctor at codehaus.org
Tue Mar 25 08:34:41 EDT 2008


anishanc wrote:
> Hello friends...
>  Now i am using normal java objects (eg: dto) as assertobjects   , and make
> decisions  in LSH side, its ok.
> But am using an xml , from this xml i used to set values to the above
> mentioned dto. That means 
>
> 1, Reading from xml
> 2, Setting to dto
>  These two steps are done in the service class, and then just giving dto's
> object as an assert object to drools for other checking.
>
> My doubt is that  can i use this xml object as an assert object to drools,
> so i need not to create a dto to check values in xml
>   
use JAXB to map the xml to javabeans and assert those beans.
> am expecting some related ideas ........ 
>
> thanks in advance. 
>   




More information about the rules-users mailing list