[jboss-dev-forums] [JBoss Transactions Development] - Re: Starting with JBoss Transactions
adinn
do-not-reply at jboss.com
Wed Sep 23 09:24:17 EDT 2009
Ben is right to recommend this course of action. However, you would be much better off using a later version of JBossAS and JBossTS/XTS.
I recommend that you download JBossAS 5.1.0.GA and the corresponding transaction code in JBossTS 4.6.0.GA from the JBoss svn repository. The programmer's guide in this version includes full documentation of both the WSAT and WSBA APIs. The implementation of XTS in this version includes full support for WSAT and WSBA crash recovery.
After download you need to build the AS, then TS and finally XTS as follows
-- build AS
| cd <AStree>/build
| bash build.sh (or run build.bat for windows)
|
-- set JBOSS_HOME
| export JBOSS_HOME=<ASdir>/build/output/jboss-5.1.0.GA//
|
-- build JBossTS
| cd <TStree>
| ant jbossjta
|
-- build and deploy XTS
| cd <TStree>/XTS
| ant install
| cp xts-install/sar/jbossxts.sar $JBOSS_HOME/server/default/deploy
|
-- build the demo
| cd <TSTree>/XTS/demo
| bash build.sh jboss
|
| cd <TSTree>/XTS/xts-install/demo
| -- edit file jboss.properties and replace HOSTNAME etc as directed
| bash build.sh jboss clean build
|
-- deploy the demo
| cp <TSTree>/XTS/xts-install/xts-demo.ear $JBOSS_HOME/server/default/deploy
|
Now start jboss and run the demo from URL
[url]
http://localhost:8080/xts-demo/
[/url]
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4256642#4256642
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4256642
More information about the jboss-dev-forums
mailing list