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: Enterprise
Project: EJB Module
Provide a project name and location and then click Next.
Retain the default values for Server and Settings and then click Finish.