Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Distributed Transaction Driver

Reply
Thread Tools

Distributed Transaction Driver

 
 
Paolo
Guest
Posts: n/a
 
      10-26-2004
I've written a driver which accesses a database like system. I'd like
to enable the driver so that it can participate in a distributed
transaction, but I'm a little overwhelmed by the complexity of the JTA
specification. Are there any resources out there that aid in
implementing this type of transactional driver? I don't think that
I'll be running my code in any sort of application server. So, if
anyone can point me to information about how the application server is
involved in the process of executing a distributed transaction, that
would be great too.

Thanks,

Paul
 
Reply With Quote
 
 
 
 
Lee Fesperman
Guest
Posts: n/a
 
      11-03-2004
Paolo wrote:
>
> I've written a driver which accesses a database like system. I'd like
> to enable the driver so that it can participate in a distributed
> transaction, but I'm a little overwhelmed by the complexity of the JTA
> specification. Are there any resources out there that aid in
> implementing this type of transactional driver? I don't think that
> I'll be running my code in any sort of application server. So, if
> anyone can point me to information about how the application server is
> involved in the process of executing a distributed transaction, that
> would be great too.


I don't know any additional resources other than the main XA spec
(http://www.opengroup.org/public/pubs/catalog/c193.htm).

You do know that you only need to implement the XAResource interface
(javax.transaction.xa.XAResource) for XA support in the resource adapter/manager, right?
Of course this is not easy. Oracle is not compliant with JTA (see the current thread --
"Oracle JDBC XA question"), and I don't believe MS/SqlServer is either. MySQL doesn't
even support it.

The JTA spec does provide information on the requirements and actions of the application
server in distributed transactions. BTW, one of those requirements is to interface with
the Transaction Manager. You might consider running under a container to let it handle
those aspects.

--
Lee Fesperman, FFE Software, Inc. (http://www.firstsql.com)
================================================== ============
* The Ultimate DBMS is here!
* FirstSQL/J Object/Relational DBMS (http://www.firstsql.com)
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SQLOLEDB was unable to begin a distributed transaction na ASP .Net 0 12-28-2006 11:29 PM
Win2003 SP1 error: "New transaction cannot enlist in the specified transaction coordinator" Vencz Istv?n ASP General 2 05-02-2005 05:53 AM
Distributed Transaction Error =?Utf-8?B?SnVsaWFuIFNhbno=?= ASP .Net 0 11-22-2004 05:49 PM
Distributed Transaction in different web services Avanish Pandey ASP .Net Web Services 2 11-11-2004 11:26 PM
Error: Cannot create new connection because in manual or distributed transaction mode CJM ASP General 2 04-02-2004 03:39 PM



Advertisments