Use the EJB References section to add, remove, and view the web application's references to EJB modules. The reference created here is mapped to the actual location of the EJB module at deployment time, when you define the necessary mappings in the server-specific deployment descriptor.
You open the web.xml Visual Editor from the Projects window by expanding the Web Pages node, then the WEB-INF node, and then double-clicking the web.xml file. Click References at the top of the editor to open the References section, then click the EJB References header to open the EJB References section. Use the EJB References section to add, remove, and view the web application's EJB references.
Click Add to define a resource reference element with the following properties: