JavaEE7Preview

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.

Getting Started

  1. Download and unzip a recent NetBeans Java EE 7 build from the NetBeans Java EE 7 build job.
  2. Download and unzip a recent GlassFish 4 promoted build.
  3. Start the IDE. Note that you may want to use the --userdir command-line option to specify a separate user directory, to prevent clashes with another version of NetBeans that you may be using.
  4. 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.
  5. 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.
  6. Make sure to use Java EE 7 Web as the Java EE version.
  7. 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.

Links

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.

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo