Diagram of a more complex transaction involving one session and two enterprise beans. In the diagram, the session bean is called, represented by an arrow from outside the module. This begins a transaction. Arrows from the session bean to the entity beans represent method calls from the session bean to the entity beans. These are inside the transaction boundaries. When the flow of control returns to, the session bean method completes the container commits the transaction. All of the work initiated by the call to the session bean has been included in a single transaction.