<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I know we also talked to the seam team about drools doing non-linear
flows using rules too, which interested them. However I think Tihomir
has been swamped recently, so progress has been slow. Definitely a good
set of tasks for a community member to get involved in :)<br>
<br>
Mark<br>
Raphael Duarte Paiva wrote:
<blockquote
 cite="mid:a7b437910910200957n3de5900fy6d9ac70cf5672187@mail.gmail.com"
 type="cite">Hello!
  <div><br>
  </div>
  <div>It has been some time and i'm curious to know if there was any
advancements in this topic.</div>
  <div><br>
  </div>
  <div>best regards!</div>
  <div><br>
  <div class="gmail_quote">On Mon, Aug 31, 2009 at 15:54, Tihomir
Surdilovic <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:tsurdilo@redhat.com">tsurdilo@redhat.com</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello
Raphael, we are currently discussing creating an unified set of<br>
BPM annotations which can drive both jBPM and Drools-Flow<br>
implementations. What has been checked in so far might change soon :)<br>
but I am currently moving forward with it and testing it until a<br>
decision has been made on the unified annotation set. Will update<br>
JBSEAM-4260 as soon as anything concrete comes out .<br>
    <br>
Thanks.<br>
Tihomir<br>
    <div class="im">Raphael Duarte Paiva wrote:<br>
&gt; Hi!<br>
&gt;<br>
&gt; I've been following seam commits and I am very happy to see that
you<br>
&gt; guys were quick on implementing the annotations =).<br>
&gt;<br>
&gt; The JIRA openned (<a moz-do-not-send="true"
 href="https://jira.jboss.org/jira/browse/JBSEAM-4260" target="_blank">https://jira.jboss.org/jira/browse/JBSEAM-4260</a>)
will<br>
&gt; be updated on this issue?<br>
&gt;<br>
&gt; Best regards.<br>
&gt;<br>
&gt; On Wed, Aug 26, 2009 at 18:42, Tihomir Surdilovic &lt;<a
 moz-do-not-send="true" href="mailto:tsurdilo@redhat.com">tsurdilo@redhat.com</a><br>
    </div>
    <div>
    <div class="h5">&gt; &lt;mailto:<a moz-do-not-send="true"
 href="mailto:tsurdilo@redhat.com">tsurdilo@redhat.com</a>&gt;&gt;
wrote:<br>
&gt;<br>
&gt; &nbsp; &nbsp; Hello Raphael,<br>
&gt;<br>
&gt; &nbsp; &nbsp; please add your comments and suggestions to<br>
&gt; &nbsp; &nbsp; <a moz-do-not-send="true"
 href="https://jira.jboss.org/jira/browse/JBSEAM-4260" target="_blank">https://jira.jboss.org/jira/browse/JBSEAM-4260</a>
as those are great<br>
&gt; &nbsp; &nbsp; inputs<br>
&gt; &nbsp; &nbsp; to have. Currently we have a separate branch for Drools5
integration<br>
&gt; &nbsp; &nbsp; (<a moz-do-not-send="true"
 href="http://anonsvn.jboss.org/repos/seam/branches/community/Seam_2_2_Drools5/"
 target="_blank">http://anonsvn.jboss.org/repos/seam/branches/community/Seam_2_2_Drools5/</a>)<br>
&gt; &nbsp; &nbsp; which will be soon merged into Seam3 trunk and then the work
on 299<br>
&gt; &nbsp; &nbsp; Beans can start :)<br>
&gt;<br>
&gt; &nbsp; &nbsp; So far, as Edson mentioned, we have added new Seam components<br>
&gt; &nbsp; &nbsp; which can<br>
&gt; &nbsp; &nbsp; be configured through components.xml. To show some examples:<br>
&gt;<br>
&gt; &nbsp; &nbsp; a) creating a KnowledgeBase:<br>
&gt;<br>
&gt; &nbsp; &nbsp; &lt;drools:knowledge-base name="kbase"<br>
&gt; &nbsp; &nbsp; knowledge-builder-config="kbuilderconfig.properties"<br>
&gt; &nbsp; &nbsp; knowledge-base-config="kbaseconfig.properties"&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;drools:rule-resources&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;&lt;value&gt;classpath;numberguess.drl;DRL&lt;/value&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/drools:rule-resources&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;drools:event-listeners&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp;
&lt;value&gt;org.drools.event.knowledgebase.DefaultKnowledgeBaseEventListener&lt;/value&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/drools:event-listeners&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/drools:knowledge-base&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; a.2) creating a KnowledgeBase from a template and template
data:<br>
&gt;<br>
&gt; &nbsp; &nbsp; &lt;drools:knowledge-base name="kbase4"<br>
&gt; &nbsp; &nbsp; knowledge-builder-config="kbuilderconfig.properties"<br>
&gt; &nbsp; &nbsp; knowledge-base-config="kbaseconfig.properties"&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;drools:rule-resources&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp;
&lt;value&gt;classpath;testtemplate.drl;DRL;testTemplateDataProvider&lt;/value&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/drools:rule-resources&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/drools:knowledge-base&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; b) creating a KnowledgeAgent:<br>
&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;&lt;drools:knowledge-agent name="kagent"
agent-name="myAgent"<br>
&gt; &nbsp; &nbsp; scan-resources="true" scan-directories="false"<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;monitor-change-set-events="true" scan-interval="30"&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;drools:change-sets&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;&lt;value&gt;classpath;numberguesschangeset.xml&lt;/value&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/drools:change-sets&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/drools:knowledge-agent&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; c) creating a StatefulKnowledgeSession (similar for stateless):<br>
&gt;<br>
&gt; &nbsp; &nbsp; &lt;drools:stateful-knowledge-session name="ksession"<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;knowledge-base="#{kbase}"<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;knowledge-session-config="ksessionconfig.properties"<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;fact-provider="#{testFactProvider}"<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;audit-log="/home/tsurdilo/Desktop/ksession3"&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;drools:event-listeners&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp;
&nbsp;&lt;value&gt;org.drools.event.rule.DebugAgendaEventListener&lt;/value&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp;
&lt;value&gt;org.drools.event.rule.DebugWorkingMemoryEventListener&lt;/value&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/drools:event-listeners&gt;<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/drools:stateful-knowledge-session&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; d) creating batch execution results:<br>
&gt;<br>
&gt; &nbsp; &nbsp; &lt;drools:batch-execution name="batch1" ksession="#{ksession}"<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;batch-xml-config="testbatch.xml"/&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; e) creating query results for a query name:<br>
&gt;<br>
&gt; &nbsp; &nbsp; &lt;drools:query-results name="queries1"
ksession="#{ksession3}"<br>
&gt; &nbsp; &nbsp; query-names="number_of_messages"/&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; There is a number of new things we will be adding such as
better flow<br>
&gt; &nbsp; &nbsp; integration (with annotations as you mentioned) as well as a
possible<br>
&gt; &nbsp; &nbsp; alternative for pageflow using flow.<br>
&gt;<br>
&gt; &nbsp; &nbsp; I will start blogging about this on <a moz-do-not-send="true"
 href="http://seamframework.org" target="_blank">seamframework.org</a><br>
    </div>
    </div>
&gt; &nbsp; &nbsp; &lt;<a moz-do-not-send="true" href="http://seamframework.org"
 target="_blank">http://seamframework.org</a>&gt; as soon we have<br>
    <div>
    <div class="h5">&gt; &nbsp; &nbsp; the code moved to a Seam3 branch.<br>
&gt;<br>
&gt; &nbsp; &nbsp; Keep the ideas coming and thanks for any comments :)<br>
&gt;<br>
&gt; &nbsp; &nbsp; Thanks.<br>
&gt; &nbsp; &nbsp; Tihomir<br>
&gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; Edson Tirelli wrote:<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp;Tihomir will probably answer you, but he sent me this
a few<br>
&gt; &nbsp; &nbsp; min ago:<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt; "<br>
&gt; &nbsp; &nbsp; &gt; &lt;tsurdilo&gt; ok just a checklist of what i have
integrated into<br>
&gt; &nbsp; &nbsp; seam so<br>
&gt; &nbsp; &nbsp; &gt; far and to see if/what im missing:<br>
&gt; &nbsp; &nbsp; &gt; &lt;tsurdilo&gt; 1. StatefulKnowledgeSession<br>
&gt; &nbsp; &nbsp; &gt; &lt;tsurdilo&gt; 2. StatelessKnowldegeSession<br>
&gt; &nbsp; &nbsp; &gt; &lt;tsurdilo&gt; 3. KnowledgeBase<br>
&gt; &nbsp; &nbsp; &gt; &lt;tsurdilo&gt; 4. support for templates<br>
&gt; &nbsp; &nbsp; &gt; &lt;tsurdilo&gt; 5. support for batch execution (on<br>
&gt; &nbsp; &nbsp; statefulknowledgesession)<br>
&gt; &nbsp; &nbsp; &gt; &lt;tsurdilo&gt; 6. support for query results (on<br>
&gt; &nbsp; &nbsp; statefulknowledgesession)<br>
&gt; &nbsp; &nbsp; &gt; &lt;tsurdilo&gt; 7. entry point support<br>
&gt; &nbsp; &nbsp; &gt; "<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp;He is working on all the integration, so if you want
anything<br>
&gt; &nbsp; &nbsp; &gt; specific, check with him if it is not in there already,
or I am sure<br>
&gt; &nbsp; &nbsp; &gt; he is looking for new ideas on how to improve/add to what
is in<br>
&gt; &nbsp; &nbsp; there.<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp;[]s<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp;Edson<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt; 2009/8/26 Raphael Duarte Paiva &lt;<a
 moz-do-not-send="true" href="mailto:raphaeldpaiva@gmail.com">raphaeldpaiva@gmail.com</a><br>
&gt; &nbsp; &nbsp; &lt;mailto:<a moz-do-not-send="true"
 href="mailto:raphaeldpaiva@gmail.com">raphaeldpaiva@gmail.com</a>&gt;<br>
    </div>
    </div>
&gt; &nbsp; &nbsp; &gt; &lt;mailto:<a moz-do-not-send="true"
 href="mailto:raphaeldpaiva@gmail.com">raphaeldpaiva@gmail.com</a>
&lt;mailto:<a moz-do-not-send="true"
 href="mailto:raphaeldpaiva@gmail.com">raphaeldpaiva@gmail.com</a>&gt;&gt;&gt;<br>
    <div class="im">&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp; Hello!<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp; I've learned from thiswillwill post<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &lt;<a moz-do-not-send="true"
 href="http://blog.athico.com/2009/06/seam-drools-integration.html"
 target="_blank">http://blog.athico.com/2009/06/seam-drools-integration.html</a>&gt;
that<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp; there will be Drools Flow support in Seam. My team
chose to use<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp; JBPM instead of Drools Flow because of the poor
integration<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp; between Drools Flow and Seam.<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp; I'd like to know exactly what level of integration
you guys are<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp; planning to implement. Will there be features like
process<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp; persistence managing and Annotation-based management
(Like<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp; @StartTask and the like) ? Is there any guesses on
how far<br>
&gt; &nbsp; &nbsp; in the<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp; future this integration is?<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp; Thanks in advance!<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp; --<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp; Abra&ccedil;os<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp; Raphael Duarte Paiva<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp; Graduando em Ci&ecirc;ncia da Computa&ccedil;&atilde;o<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp; "For millions of years, mankind lived just like the
animals.<br>
&gt; &nbsp; &nbsp; Then<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp; something happened which unleashed the power of our
imagination.<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp; We learned to talk [...]" - Stephen Hawking, 1993<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp; _______________________________________________<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp; rules-dev mailing list<br>
&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp; <a moz-do-not-send="true"
 href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>
&lt;mailto:<a moz-do-not-send="true"
 href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>&gt;<br>
    </div>
&gt; &nbsp; &nbsp; &lt;mailto:<a moz-do-not-send="true"
 href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>
&lt;mailto:<a moz-do-not-send="true"
 href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>&gt;&gt;<br>
    <div class="im">&gt; &nbsp; &nbsp; &gt; &nbsp; &nbsp; <a moz-do-not-send="true"
 href="https://lists.jboss.org/mailman/listinfo/rules-dev"
 target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt; --<br>
&gt; &nbsp; &nbsp; &gt; &nbsp;Edson Tirelli<br>
&gt; &nbsp; &nbsp; &gt; &nbsp;JBoss Drools Core Development<br>
&gt; &nbsp; &nbsp; &gt; &nbsp;JBoss by Red Hat @ <a moz-do-not-send="true"
 href="http://www.jboss.com" target="_blank">www.jboss.com</a> &lt;<a
 moz-do-not-send="true" href="http://www.jboss.com" target="_blank">http://www.jboss.com</a>&gt;<br>
&gt; &nbsp; &nbsp; &lt;<a moz-do-not-send="true" href="http://www.jboss.com"
 target="_blank">http://www.jboss.com</a>&gt;<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp;
------------------------------------------------------------------------<br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt; &nbsp; &nbsp; &gt; _______________________________________________<br>
&gt; &nbsp; &nbsp; &gt; rules-dev mailing list<br>
&gt; &nbsp; &nbsp; &gt; <a moz-do-not-send="true"
 href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>
&lt;mailto:<a moz-do-not-send="true"
 href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>&gt;<br>
&gt; &nbsp; &nbsp; &gt; <a moz-do-not-send="true"
 href="https://lists.jboss.org/mailman/listinfo/rules-dev"
 target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
&gt; &nbsp; &nbsp; &gt;<br>
&gt;<br>
&gt; &nbsp; &nbsp; _______________________________________________<br>
&gt; &nbsp; &nbsp; rules-dev mailing list<br>
&gt; &nbsp; &nbsp; <a moz-do-not-send="true"
 href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>
&lt;mailto:<a moz-do-not-send="true"
 href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>&gt;<br>
&gt; &nbsp; &nbsp; <a moz-do-not-send="true"
 href="https://lists.jboss.org/mailman/listinfo/rules-dev"
 target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Abra&ccedil;os<br>
&gt; Raphael Duarte Paiva<br>
&gt; Graduando em Ci&ecirc;ncia da Computa&ccedil;&atilde;o<br>
&gt;<br>
&gt; "For millions of years, mankind lived just like the animals. Then<br>
&gt; something happened which unleashed the power of our imagination. We<br>
&gt; learned to talk [...]" - Stephen Hawking, 1993<br>
&gt;
------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; rules-dev mailing list<br>
&gt; <a moz-do-not-send="true" href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
    </div>
    <div>
    <div class="h5">&gt; <a moz-do-not-send="true"
 href="https://lists.jboss.org/mailman/listinfo/rules-dev"
 target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
&gt;<br>
    <br>
_______________________________________________<br>
rules-dev mailing list<br>
    <a moz-do-not-send="true" href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a><br>
    <a moz-do-not-send="true"
 href="https://lists.jboss.org/mailman/listinfo/rules-dev"
 target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
    </div>
    </div>
  </blockquote>
  </div>
  <br>
  <br clear="all">
  <br>
-- <br>
Abra&ccedil;os<br>
Raphael Duarte Paiva<br>
Graduando em Ci&ecirc;ncia da Computa&ccedil;&atilde;o<br>
  <br>
"For millions of years, mankind lived just like the animals. Then
something happened which unleashed the power of our imagination. We
learned to talk [...]" - Stephen Hawking, 1993<br>
  </div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
rules-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:rules-dev@lists.jboss.org">rules-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/rules-dev">https://lists.jboss.org/mailman/listinfo/rules-dev</a>
  </pre>
</blockquote>
<br>
</body>
</html>