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


In this pane, define the <ejb-local-ref> element that declares a reference to the local home of an EJB.

Based on the settings you specify in this pane, IntelliJ IDEA generates the properties of the <ejb-local-ref> element in the web.xml descriptor.

Item Property generated in web.xml Description
EJB Local References <ejb-ref-name> In this field, specify the name of the EJB local reference relative to java:comp/env context.

The name must contain the EJB reference name used in the code of the Web application.

iconEditReference Click this button to open the Edit EJB Local Reference dialog box.

Note

The button is available only in a selected row.

Type <ejb-ref-type> Use this drop-down list to select the expected type of the referenced EJB. The available options are:
  • Entity
  • Session
Description <description> Provide a description of the reference.
Home <local-home> In this field, specify the fully-qualified name of the EJB's local home interface.
Component <local> In this field, specify the class that implements the referenced EJB component.
Link <ejb-link> In this field, specify the link from the EJB reference to the referenced EJB.

See Also

Procedures:

Reference:

Web Resources: