Configuring EJB references

Your EJB can use EJB references to instantiate proxies for other EJBs. You do not need to create references in order to invoke other EJBs from your code. However, doing so ensures that EJB references will be cataloged in the deployment descriptor if you export the EJB. There are two types of references:

NoteStubs used for EJB references must be in the custom class list You must list stubs used for intercomponent calls in the custom class list for your component, as described in “Custom class lists for Java and EJB components”.