[rules-users] JSR-94 and JEE integration

Corneil du Plessis corneil at tsctech.com
Tue Jun 10 09:44:53 EDT 2008


We use JSR-94 and have a 'RuleLoader' that uses our rule definitions and a
velocity script to generate the rules and creates a ruleset from that.

-----Original Message-----
From: rules-users-bounces at lists.jboss.org
[mailto:rules-users-bounces at lists.jboss.org] On Behalf Of Hehl, Thomas
Sent: 10 June 2008 13:48
To: 'Rules Users List'
Subject: RE: [rules-users] JSR-94 and JEE integration

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