Hi,<br><br>I have perhaps a simple question.<br><br>Here is my complex Object:<br><br>public class Object1 {<br> private String id;<br> private Set<Object2> obj2s;<br>}<br><br>public class Object2 {<br> private String idof2;
<br> private Object3 obj3;<br> private Object4 obj3;<br>}<br><br>The business logic depends on the Object1 and all of the Object2 in the list.<br><br>My question is what is the best way to pass this to drools and have the rules be applied. I read somewhere that the best is to have "flat" objects, with no lists, then pass those objects into the engine. However with
4.0 there is a way to go through the lists, but it is still not suggested. Is that correct ?<br><br>Any suggestions are welcomed.<br><br>Thanks.<br><br>Krk<br><br>