Re: [rules-users] JSR-94 and JEE integration
The Rules Framework project @ sourceforge, http://sourceforge.net/projects/rules/, addresses this scenario, especially the JSR 94 based JCA resource adapter and the JSR 94 based Stateless Decision Service. Rainer Knoster wrote: 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@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users -- View this message in context: http://www.nabble.com/JSR-94-and-JEE-integration-tp17751072p18749348.html Sent from the drools - user mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Knoster Sent: Tuesday, June 10, 2008 4:46 AM To: rules-users@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@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users
RE: [rules-users] JSR-94 and JEE integration
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Knoster Sent: Tuesday, June 10, 2008 4:46 AM To: rules-users@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@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users ___ rules-users mailing list rules-users@lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-users