Diagram of the EJB module, which contains a session bean and two entity beans. At the left, arrow 1, representing Java RMI remote method call, connects the EJB module to a client module, which is not shown. Inside the module, Inside the module, arrows 2, representing local method calls, connect the session bean to the two entity beans. Leaving the module on the lover right, arrows 3, representing CMP database connections, connect the EJB module to a DBMS system.