AFAIK, JBoss 4 will have a transaction manager which is able to span transaction over more than one vm.
thanks for ur kindly help,I found Jonas has supported this(at least its doc said it do ),I will try on the Jonas and keep an eye on the Jboss4.
The transaction integration from Arjuna (a JBoss partner) is very good and the transaction service has been used extensively for many years. Personally I'd recommend a JBoss+Arjuna configuration. Transactions are like insurance policies: you don't regret having one until you need it!