The IDE provides wizards to help you create EJB module projects for
EJB 3.1 enterprise beans (EJB 2.1 is a mandatory part of the EJB 3.1
specification).
The wizard can also help you create an EJB module if you already have existing source code.
Choose File > New Project (Ctrl-Shift-N) from the main window.
From the Java EE category, select one of the following project templates:
Enterprise
Application. Lets you create an EJB module project as part of an empty
enterprise application.
When you import an individual EJB module into a standard project,
the module can have any folder structure. When importing an entire application
using the Enterprise Application with Existing Sources template, the project's
folder structure must adhere to the
. For more information, see:
For standard EJB module projects, the IDE does not support J2EE 1.3 EJB modules
and automatically updates the version number of your EJB module's ejb-jar.xml
to 1.4. The J2EE 1.4 specification is fully backward-compatible, so upgrading
the specification level does not change the behaviour of your code.