How does a client application that employs, say, session beans, obtain a JTA UserTransaction object from the EJB server?

Jerry Smith

It doesn't. Session beans may obtain a JTA UserTransaction object for method-level bundling of business logic-related operations as a logical unit of work. If a client application must employ JTA transactions, for whatever reason, doing so is independent of the fact that it also uses enterprise beans (which implement their own transaction management via the EJB server); hence, the client must obtain the UserTransaction object in some other context, for example, from the J2EE environment.