I have a software project running in IBM Websphere 8.5.5. It needs to lookup the JTA TransactionManager from the application server. Currently it uses the com.ibm.ws.Transaction.TransactionManagerFactory
class, and then calls getTransactionManager()
on that.
My question is this: Is it legitimate to do this in IBM Websphere 8.5? It seems there are newer interfaces around (e.g. UOWManager
). However, I haven't been able to find any documentation on the use of com.ibm.ws.Transaction.TransactionManagerFactory
beyond Websphere 5. It doesn't say anywhere that it can be used. It doesn't say anywhere that it shouldn't be used either.
So does com.ibm.ws.Transaction.TransactionManagerFactory
still work, albeit old-fashioned? Or is it problematic and shouldn't be used?
(I haven't seen the code fail so far, but this might mean either a) it works properly, or b) we just haven't hit the right test cases!)