For information on working with Java Enterprise Edition (Java EE) in the IDE, see the following chapter in the User's Guide:
Developing Applications with NetBeans IDE,