I am seeking to convert the Roster CMP app to enable user transactions, i.e.,
rollback / commit over multiple entity bean method invocations from a
client within a single transaction.
I have read warnings about using UserTransactions with CMP. But I can't
find any alternative. Moreover, look up on my initial context using "UserTransaction" throws an initialization error.
Please advise. I am using JBoss 3.2.3, with Oracle 9i configured as specified in the Getting Started Guide.
BMT is not allowed for CMP - read the spec
Why would you want BMT in a CMP bean if you are trying to make the client
control the transaction?
BMT always suspends any incoming transaction.