I have a similar situation, and am kicking around JMS/MDBs.

I'm interested in the feedback you get on this question.

On Wed, Feb 11, 2009 at 8:45 PM, Dan Seaver <dan.seaver@ge.com> wrote:

Is there any recommended "Best Practice" for instantiating and accessing a
StatelfulKnowledgeSession in a J2EE environment?

One use case for this type of session is it will act as a Complex Event
Processor - taking in low-level events from all over the system and throwing
complex events based on Fusion rules. The session is intended to be global
in nature as ALL events will flow through this CEP processor.

Another use case would be for long running processes or work-flows that
interact with data streams.

The 3 patterns I'm looking at are:
- the Singleton pattern
- use of JMS and MDBs
- use of external rule server(s)

Any thoughts about scalability issues?
--
View this message in context: http://www.nabble.com/StatefulKnowledgeSession-and-J2EE-tp21968423p21968423.html
Sent from the drools - user mailing list archive at Nabble.com.

_______________________________________________
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users