Ole Husgaard wrote:

> Hi,
> 
> marc fleury wrote:
> 
>> |I think that I am about to understand your point
>> |here. Some kind of layer of code is needed for
>> |keeping track of:
>> |- Which components are executing in which TXs.
>> |- Which resource connections are open, and
>> |  which components have them open.
>> |I just cannot read JTA as saying that this
>> |functionality should belong to the JTA
>> |implementation.
>> 
>> It does not and in fact I do not talk about that.
>> 
>> yes that is needed and it is I believe somewhat covered in the JCA arch?
>> (correct me if I am wrong).
> 
> 
> I haven't studied JCA closely yet, but it looks
> to me like a generalization of XAConnection.
> So it specifies JTA XA resources for any backend,
> not just JDBC connections.

Yes, that's correct. The spec basically says that the app server is 
responsible for keeping track of which resources each bean is using, 
just like the JTA spec does.

Aaron and I have built support for this into our JCA implementation. All 
it requries is a hook into JBoss. I'm thinking EnterpriseContext.

Toby.


Reply via email to