In order to create an EJB, first create a project. Then prepare an environment that allows the required libraries to be set in the project and enables the build.
Creating Projects
From the [New Project] wizard, select [EJB] > [EJB Project] to create the EJB project.
For details on the parts common to project wizards, refer to "6.2.2.1 Creating New Projects".
Refer below for the settings that are unique to the EJB Project wizard.
Source Folder
Specify the folder that stores the project sources.
Generate deployment descriptor
Under EJB 3.0, a deployment descriptor is not required.
Select as required, not only for a Dependency Injection that uses annotation, but also if JNDI lookup processing is performed, if an environment entry is used, and so on.
Classpath Settings
Classpaths must be set if there are libraries or similar that are required in order to create the application. Classpaths are set in the project build path.
For details on build path settings, refer to "6.2.2.3 Setting Classpaths".