Java Reference
In-Depth Information
Figure 11.9 You can use the J2EE Build Settings tab to define the way the module is deployed as
well as to set parameters associated with the module make process and the way it's created.
Names for enterprise bean class and interfaces of Entity and Session beans as well
as Message bean class name are suggested by
IDEA
based on the following logic.
The prefix and suffix are taken from the
J2EE
Names
settings. The name root is
added based on the bean name root. When you alter the bean name root,
IDEA
automatically changes it for the class and interfaces. If you modify any of the class
or interface names,
IDEA
doesn't automatically change this field along with the
bean name root. However, you can bring this field back to the automatically edit-
able state: Make its prefix and suffix match the ones in the
J2EE
Names
settings,
and the root should be similar to the bean name root.
Creating new EJBs
EJB
s are useful when you want to encapsulate business logic into separate com-
ponent(s). There are several types of
EJB
s: Session, Message, and Entity. Ses-
sion
EJB
s provide synchronous services, Message
EJB
s are designed to work with