EAP 5.0 is the commerical version of JBoss AS 5.1.0, which is the free community version, so you could use that.
Do you need XA-transaction support? I think that is available in AS 5.1.0.GA, but someone else might have a more definitve answer.
Thanks for the reply..Ofcourse i need the XA - transaction support, based on that only my project depends..
You can install the full JBoss Transactions product that include XA capabilities into JBoss AS 5.1.0. Download jbossts-full-4.7.0.GA.zip from http://jboss.org/jbosstm/downloads/4-7-0-GA.html (make sure you get the "full" one, not the "jta" one) and follow the instruction in the INSTALL file to install it.
By the way, a better forum to use might be:
That is the forum where the Transactions team hangs out.
> You can install the full JBoss Transactions product that include XA capabilities into JBoss AS 5.1.0.
Or just use the 4.6.1 release that is already embedded in it.
Is that the "full" version or the "jta" version that is embedded in AS 5.1.0? I believe that was Balaji's original question.
> Is that the "full" version or the "jta" version that is embedded in AS 5.1.0? I believe that was Balaji's original question.
why do you think that? and yes, it is the full version.
Balaji, looks like you can use AS 5.1.0.GA for your project as it has XA transaction support, you don't need EAP 5.0.
"why do you think that?"
It is my understanding that you need JTS (the "full" version of JBoss Transactions) to support XA.
You can convert AS 5.1.0 to use JTS by:
$ cd $JBOSS_HOME/docs/examples/transactions $ ant jts
See $JBOSS_HOME/docs/examples/transactions/README.txt for further details.
> It is my understanding that you need JTS (the "full" version of JBoss Transactions) to support XA.
Well, that was short and sweet. So off to the dictionary. And I retract my stament - JTA supports XA, because XA just means supporting multiple transaction sources (e.g., databases).
What I was thinking of was distributed transactions among multiple, hetorgeneous transaction-aware resources (such as multiple application servers), and for that you need JTS, right? (Please forgive my misunderstanding, it has been years since I looked at transaction systems in this level of detail.)
> What I was thinking of was distributed transactions among multiple,hetorgeneous transaction-aware resources (such as multiple applicationservers), and for that you need JTS, right?
kind of. Currently if you want transaction propagation between heterogeneous business logic servers in a JEE environment then yes, you need JTS for interoperability. If you are willing to step outside JEE then you can alternatively use a WS-AT implementation to make web services calls transactional. We happen to have one of those in AS 5.1 too
Thanks for your views guys !!!
More over, i think only JTA is sufficient because my transactions are going to happen within a single application server.
For achieving two phase commit transaction, i have a doubt whether can i able to use two different tables in a database like MySql or shall i go on using two different databases like MySql & SQL Server 2005..since i am going to use the X/Open DTP model here..
If you go with two tables in the same database, using the same datasource, and the same connection, then you will not be using XA, you will be using just the transaction capabilities within the database. Using different connections should be sufficient to text XA, but personally I would go with different databases, that makes the use of XA more obvious.