Java Reference
In-Depth Information
Figure 11.11 When you ask IDEA to create a new Session bean, the New
Session Bean dialog prompts for all the relevant information (much like a
single-step wizard process).
make to your
EJB
or
EJB
module structure are recorded in deployment descrip-
tors. Usually, it's sufficient to utilize
IDEA
's visual features to edit deployment
descriptors. However, for custom application server integrations (not specifically
supported by
IDEA
), or if server-specific parameters are to be set (
IDEA
has visual
support for most but not all widely used tags), you may need to edit deployment
descriptors manually.
From the
J2EE
project tab, you can edit the
EJB
module or
EJB
nodeānot the
ejb-jar.xml file, but the node directly under
EJB
Modules. The
EJB
Module editor/
EJB
editor opens, as shown in figure 11.12. This interface lets you edit the most
common options of an
EJB
module/
EJB
deployment descriptor as well as Web-
Logic settings for Entity beans.
Several features are supported for
EJB
editing. First,
EJB
s are Java classes, so
all of
IDEA
's features are available including convenient code editing, refactor-
ings, automatic imports management, completions, and so on.