Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

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

0
Posted

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

0

Location: http://www.jguru.com/faq/view.jsp?EID=2573 Created: Dec 14, 1999 Author: Jerry Smith (http://www.jguru.com/guru/viewbio.jsp?EID=9) 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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123