geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Jencks <david_jen...@yahoo.com>
Subject Re: Integration of Geronimo modules (Tx / JCA) in Spring
Date Fri, 01 Jul 2005 19:02:00 GMT
This is great news!  I think I will have a bit of time now to help out  
or at least review what you have done.  Can you point me to your code?  
How can I help?

Many thanks,
david jencks

On Jun 30, 2005, at 1:10 AM, Thierry Templier wrote:

> David,
>
> Thanks to your hints, we finally made work the
> transaction and connector modules of Geronimo with the
> support of JCA in Spring.
> Thanks a lot for your help!!
> Thierry
>
>> I'll try to describe briefly what's going on here,
>> but it's a somewhat
>> complicated subject and I've probably forgotten a
>> few details.
>>
>> The J2CA spec requires us to support the following
>> (IMO ridiculous)
>> scenario:
>>
>> call into EJB A with user x
>> A acquires connection with login based on x (such as
>> same name, or
>> maybe some group name)
>> On method exit, A does not close connection but
>> keeps it
>> call into EJB A with user y
>> the connection saved in A must still be usable, but
>> must now be
>> attached to a physical connection based on y.
>>
>> In order to keep track of stuff like this, we have
>> an InstanceContext.
>> The (ejb, servlet, app client, ...)  container
>> framework is required to
>> register the appropriate instance context with the
>> ConnectionTrackingCoordinator before allowing the
>> call into the
>> instance object.  This is done e.g. in the jetty
>> module
>> InstanceContextBeforeAfter and in openejb's
>> ConnectionTrackingInterceptor.
>>
>> If you want to support holding connections open over
>> method calls, you
>> should find a way to install such an instance
>> context before control
>> gets to the implementation object.  If not, lets
>> talk about removing
>> this requirement for use of the geronimo j2ca
>> framework.
>
> Take a look at my blog:
> http://templth.blogspot.com/
>
>
> 	
>
> 	
> 		
> _______________________________________________________________________ 
> ____
> Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo!  
> Messenger
> Téléchargez cette version sur http://fr.messenger.yahoo.com
>


Mime
View raw message