Title: Begin a Transaction There is no EjbContext class. There is EJBContext class. And you can't call getUserTransaction directly on the EJBContext class. You need to instantiate it at first. Nevertheless the normal usage is to inject specific context based on session bean type. Like @Resource SessionContext ctx; ctx.getUserTransaction() in statless/stateful bean. or @Resource MessageDrivenContext ctx; ctx.getUserTransaction() in MDB. I think that it would be better to mention it so.
Okay: I have modified the first step of the procedure to change the description text, and also changed the substep for the 'Context' to have separate code samples for stateless/stateful beans vs message-driven beans (as shown in the description of this bug). The changes can be previewed on docbuilder here: http://docbuilder.usersys.redhat.com/22509/#Begin_a_JTA_Transaction The changes will be in the next document build, and the status will be changed to ON_QA when it is ready for review.
This can be verified here: http://documentation-devel.engineering.redhat.com/site/documentation/en-US/JBoss_Enterprise_Application_Platform/6.3/html-single/Development_Guide/index.html#Begin_a_JTA_Transaction
Verified on Revision 6.3.0-19