IntelliJ IDEA 2021.1 Help

EJB facet page

File | Project Structure | Modules | <module> | EJB
File | Project Structure | Facets | EJB (<module>)

Use this page to edit the settings for your EJB facet.

ItemDescription
NameThe name of the facet.
Deployment Descriptors

Form the list of deployment descriptors for your application.

the Add button   Alt+Insert. Create ejb-jar.xml and add it to the list. The function is not active if the corresponding descriptor is already present in the list.

the Remove button   Alt+Delete. Remove the selected descriptor from the list.

the Edit button   Enter. Replace the selected descriptor with another one of the same type.

Add Application Server specific descriptor. Create an application server-specific deployment descriptor (for example glassfish-ejb-jar.xml, jboss.xml) and add it to the list.

Source roots for EJB classes

Select the source roots to be included in an artifact. Note:

  • If the '<ModuleName>' compile output element is present in an artifact configuration, the classes for all the source roots are included in the corresponding artifact irrespective of which source roots are selected here.

  • To include only the classes from the source roots selected on this page, use the following when configuring the artifact: Icons general add | JavaEE Facet Classes | EJB (in <ModuleName>). As a result, the corresponding element in the artifact configuration will be shown as '<ModuleName>' module: 'EJB' facet classes.

Last modified: 08 March 2021