I have a similar situation, and am kicking around JMS/MDBs.<br><br>I&#39;m interested in the feedback you get on this question. <br><br><div class="gmail_quote">On Wed, Feb 11, 2009 at 8:45 PM, Dan Seaver <span dir="ltr">&lt;<a href="mailto:dan.seaver@ge.com">dan.seaver@ge.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;"><br>
Is there any recommended &quot;Best Practice&quot; for instantiating and accessing a<br>
StatelfulKnowledgeSession in a J2EE environment?<br>
<br>
One use case for this type of session is it will act as a Complex Event<br>
Processor - taking in low-level events from all over the system and throwing<br>
complex events based on Fusion rules. The session is intended to be global<br>
in nature as ALL events will flow through this CEP processor.<br>
<br>
Another use case would be for long running processes or work-flows that<br>
interact with data streams.<br>
<br>
The 3 patterns I&#39;m looking at are:<br>
- the Singleton pattern<br>
- use of JMS and MDBs<br>
- use of external rule server(s)<br>
<br>
Any thoughts about scalability issues?<br>
<font color="#888888">--<br>
View this message in context: <a href="http://www.nabble.com/StatefulKnowledgeSession-and-J2EE-tp21968423p21968423.html" target="_blank">http://www.nabble.com/StatefulKnowledgeSession-and-J2EE-tp21968423p21968423.html</a><br>

Sent from the drools - user mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</font></blockquote></div><br>