The NetBeans team is happy to announce that preliminary support for the upcoming Java EE 7 platform is now available in NetBeans. This page describes how to get started with Java EE 7 with NetBeans.
- Download and unzip a recent NetBeans Java EE 7 build from the NetBeans Java EE 7 build job.
- Download and unzip a recent GlassFish 4 promoted build.
- Start the IDE. Note that you may want to use the
--userdircommand-line option to specify a separate user directory, to prevent clashes with another version of NetBeans that you may be using.
- Create the desired project type (typically a web project) by choosing a suitable project template from categories Java Web or Java EE (for Ant-based projects) or Maven (for Maven-based projects) in the New Project wizard.
- As a part of project creation, you will be able to add a new server runtime. Register the GlassFish 4 promoted build you downloaded earlier.
- Make sure to use Java EE 7 Web as the Java EE version.
- After creating the project, you will be able to create new artifacts that are new in Java EE 7, such as JAX-RS 2.0 filters and interceptors, WebSocket endpoints, use other Java EE 7 development features in NetBeans, and deploy the project to GlassFish 4.
To learn more about the Java EE 7 platform, and to track progress of the NetBeans Java EE 7 support, visit the engineering planning page. This page contains the links to individual Java EE 7 specifications, as well as a task list for the NetBeans Java EE 7 support.