IntelliJ IDEA 13.1 Web Help

Some features described here are available in Ultimate edition only.

Web Tool Window | Context Menu of a Web module | Jump To Source |

Assembly Descriptor References - EJB Local References References pane


The dialog box opens when you click the Add button add and select EJB Local Reference in the context menu.

Use this dialog box to specify the properties of the <ejb-local-ref> element.

Item Property generated in web.xml Description
Name <ejb-ref-name> In this field, specify the EJB reference name relative to java:comp/env context.
Type <ejb-ref-type> Use this drop-down list to select the expected type of the referenced EJB.
The available options are:
  • Entity
  • Session
Home Interface <local-home> In this field, specify the fully-qualified name of the EJB's local home interface.
browseButton Click this button to open the Choose Class dialog box.
Remote Interface <local> In this field, specify the class that implements the referenced EJB component.
browseButton Click this button to open the Choose Class dialog box.
Link <ejb-link>

Specifies that the EJB reference is linked to an EJB.

The link is composed as follows:

<The path to the ejb-jar containing the referenced EJB>#<the ejb-name of the target bean>.

The path name is relative to the WAR file containing the Web application.

Description <description> In this field, provide a description of the reference.
browseButton Click this button to open the Text dialog box for entering the textual description.

See Also

Procedures:

Reference:

Web Resources: