I could not find exact references whether JBoss AS 4.0.5GA implement "last agent optimisation", whereby in a global transaction, there is one non-XA resource but 1 or more XA resource. Basically, I will have an XA JMS resource and a non-XA database resource.
I saw some references in www.theserverside.com that JBoss AS does not implement this feature, but that reference was more than a year ago.
Was also not sure whether I should be asking this in the JBoss Transactions forum or in this forum, since I'm not sure if JBoss AS 4.0.5 GA uses JBoss Transaction ( Arjuna / HP ).
Both JBossTM (the default TM in JBoss-4.0.x) and JBossTS (Arjuna) implement the LRCO (Last resource commit optimization).