[rules-users] Drools Flow - Dependency Injection

jawa agohar at gmail.com
Fri Aug 6 10:05:37 EDT 2010


Hi,

I am writing a custom workItem handler in drools flow and want to access my
Stateless session bean from there. I will deploy my drools project to JBoss
so can I use @EJB annotation to get my stateless bean injected by jboss with
in WorkItemHandler?

Secondly I'll call my flow from with in a Stateless session bean. Is it ok?
Or does drools use multi threading? As multi threading is not recommended to
be used in EJBs?

Thanks
-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Drools-Flow-Dependency-Injection-tp1030054p1030054.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list