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 - Resource References pane

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

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

Item Property generated in web.xml Description
Name <res-ref-name> In this field, specify the name of the resource used in the JNDI tree. Servlets in the Web application use this name to look up a reference to the resource.
Type <res-type> Use this drop-down list to select the Java type of the resource that corresponds to the reference name. Use the full package name of the Java type.
ellypsis Click this button to open the Choose class dialog box.
Authentication <res-auth> Use this drop-down list to specify how the resource sign on is controlled for security. The available options are:
  • Application: the application code performs resource sign on programmatically.
  • Container: the established security context is used.
Shareable <res-sharing-scope> Select this check box to enable sharing connections obtained through the given resource manager connection factory reference.
Description <description> In this field, provide a description of the EJB resource reference.

See Also



Web Resources: