uCosminexus Application Server, EJB Container Functionality Guide

[Contents][Glossary][Index][Back][Next]

3.4.1 Flow of Enterprise Bean invocation from an EJB client application

This subsection describes the flow of invoking an Enterprise Bean based on the example of searching and obtaining the references of an EJB home object.

Figure 3-1 Flow of invoking an Enterprise Bean from the EJB client application by using the home interface

[Figure]

To invoke an Enterprise Bean from the EJB client application using the home interface, obtain the references of the EJB home object using JNDI. To do so, you must implement in such a way so that the JNDI naming context is generated in the EJB client application and the references of the EJB home object can be searched. For details on how to invoke an Enterprise Bean, see 3.4.2 Implementation for invoking an Enterprise Bean. Furthermore, since an EJB client application uses RMI-IIOP for communication, you can reference the stubs and interfaces of RMI-IIOP. For details on how to obtain the stubs and interfaces of RMI-IIOP, see 3.7 Obtaining RMI-IIOP stubs and interfaces.