[rules-users] JSR-94 and JEE integration

Knoster droolsuser at macdepp.de
Tue Jun 10 11:44:33 EDT 2008


to access the engine from a servlet might not be the problem, as in
servlets some attributes are managed as singletons. but with ejb3 there
are no singletons, as i know.


Hehl, Thomas wrote:
> I know nothing about jsr-94, but we use drools in a webapp, servlet side
> only.
>
> It seems to me you could simply put your rules into a stateless session
> bean.
>
> -----Original Message-----
> From: rules-users-bounces at lists.jboss.org
> [mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Knoster
> Sent: Tuesday, June 10, 2008 4:46 AM
> To: rules-users at lists.jboss.org
> Subject: [rules-users] JSR-94 and JEE integration
>
> Hi,
> i would like to integrate drools in jee. to be more flexible i was loking
> at jsr-94. as i suppose jsr-94 only addresses j2se environment, my
> question is: how it is possible to use drools with this specs from an ejb3
> session bean? my thoughts about this brought me to the idea of injecting
> the rules-administrator via resource annotation to prevent the container
> always doing a class.forname(..) lookup. to define a j2se resource in a
> jee container a jca might be the best way to integrate and to assure the
> jee specs will not be violated. but this seams a lot of overhead to me.
> how do u use drools in your jee applications when not relying on the brms?
> any help or ideas on integrating drools with jsr-94 in jee would be great.
>
> Knosta
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
> _______________________________________________
> 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