In the NetBeans IDE main menu, click File -> New Project.
The New Project wizard appears.
Select the following category and project type and then click Next:
Category: Java EE
Project: EJB Module
Provide a project name and location and then click Next.
Keep the default values for Server and Java EE Version, and click Finish.
The new project is added to the Projects tree.