At the moment, I get a UserTransaction object via JNDI only once at the start of my client application, and then perform many .begin / .commit couples. Is this correct, or do I need to get a new UserTransaction instance via JNDI after performing .commit, so that the next .begin runs against a new instance? What is better? What are the differences?
