geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <>
Subject Re: JCA and Drools
Date Tue, 23 Dec 2003 17:36:58 GMT
I looked, there is essentially no jca implementation, just a couple of 
do-nothing interface implementations.

My previous experiences with integrating a rules engine in JBoss made 
me think that a jca interface for an in-vm rules engine was not a very 
good fit, so I would expect some fairly severe conceptual mismatches to 
appear shortly.

You have to figure out what a "physical connection" might correspond to 
in Drools.  My guess is that it corresponds to an instance of the rules 
set.  With luck these can be sensibly pooled when not in use.  Your 
ManagedConnection object would subclass or wrap the "physical 

Then you have to figure out what the application level interface to 
this is.  Most likely this is specified by jsr94. This will be the 
connection you get from the connection factory.  The connection needs a 
pointer to the managed connection object and should delegate any actual 
work to the managed connection object.

I just remembered that I have a mock adapter for testing the geronimo 
jca framework sitting here, so I will commit it: it may provide a 
simpler guide to what is needed since there is no pesky backend to get 
in the way.

Ask if you have more questions

david jencks

On Tuesday, December 23, 2003, at 08:58 AM, Chris Perrin wrote:

> David,
> If you can point me in the right direction, I am hoping to get some 
> work on
> Geronimo done over the holidays.
> Chris
> ----- Original Message -----
> From: "David Jencks" <>
> To: <>
> Sent: Tuesday, December 23, 2003 10:55 AM
> Subject: Re: JCA and Drools
>> Writing a JCA adapter is not all that difficult once you understand
>> what the different pieces are supposed to do.  If they have classes
>> implementing ManagedConnectionFactory and ManagedConnection and an
>> ra.xml it might be complete.
>> OpenEJB (non-NOVA) has a simple jdbc wrapper.  JBoss has jdbc wrappers
>> and a jms wrapper, and in jboss patches you can find a jini wrapper I
>> wrote a long time ago.  I'll also see if I can find a few minutes to
>> look at Drools.
>> thanks
>> david jencks
>> On Tuesday, December 23, 2003, at 08:42 AM, Chris Perrin wrote:
>>> Group,
>>> Either JCA is a lot simpler to blend into Drools or I am missing the
>>> boat
>>> entirely.  I've been looking over the JCA implementation already 
>>> there
>>> and
>>> all it does is create a few Drools objects.
>>> Can someone point me to a JCA implementation inside Geronimo?  
>>> Perhaps
>>> a
>>> good resource on what is needed?
>>> Chris

View raw message