Sure, an EJB call is fine. The rule action is just plain old java code. However I'd
suggest not making a remote call directly. Unless you're using multithreaded
execution the rules will run In only one thread, so a slow RPC will pause everything.
I'd send requests locally to an external processing thread.
GreG
On Jun 10, 2010, at 11:04 AM, Earnie Dyke <earniedyke(a)yahoo.com> 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-u...
Sent from the Drools - User mailing list archive at
Nabble.com.
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users