[rules-users] StatefulKnowledgeSession and J2EE

Dan Seaver dan.seaver at ge.com
Wed Feb 11 20:45:37 EST 2009


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.




More information about the rules-users mailing list