[rules-users] Design question for user login monitoring
Andrew Waterman
awaterma at ecosur.mx
Thu Jun 10 13:32:03 EDT 2010
Earnie,
You may want to be careful with Singletons inside the JEE engine. You may want to think about a stateless session and a static reference to a serialized KnowledgeBase in an object store (file, database, thread, etc.) available for reload.
best wishes,
Andrew
On Jun 10, 2010, at 11:04 AM, Earnie Dyke wrote:
>
> Greg,
>
> Thanks for the quick response. I already have the Login logging working with
> and entity similar to what you describe.
>
> To address your issues:
>
> 1. Yes, a singleton rule session is what I had in mind. Running inside an
> MBean.
> 2. Could the service you refer to be an EJB? My app is using Seam if that
> adds anything to this discussion.
>
> Earnie!
> --
> View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Design-question-for-user-login-monitoring-tp885841p885980.html
> Sent from the Drools - User mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
More information about the rules-users
mailing list