How does an entity bean obtain a JTA UserTransaction object?
Location: http://www.jguru.com/faq/view.jsp?EID=2583 Created: Dec 14, 1999 Modified: 2000-08-03 21:59:28.181 Author: Jerry Smith (http://www.jguru.com/guru/viewbio.jsp?EID=9) It doesn’t. Entity beans do not employ JTA transactions; that is, entity beans always employ declarative, container-managed transaction demarcation. Entity beans, by definition, are somewhat tightly coupled (via the EJB container and server) to a datastore; hence, the EJB container is in the best position to manage transaction processing.