(Difference between revisions)
m (Web Languages)
(HTML5 Editing Support)
Line 204: Line 204:
* HTML5 is now supported by the netbeans html editor.
* HTML5 is now supported by the netbeans html editor.
* Improved html code validation by is performed
* Improved html code validation by is performed
== PHP ==
== PHP ==

Revision as of 15:10, 14 October 2010



Native Filesystem listening

The IDE no longer scans for external changes in your source directories when you switch in and out of the IDE window. Instead, the IDE relies on native OS file system listeners. Supported on Windows, any modern Linux, latest Mac OS X.



  • The 4.8.2 release of the JUnit library has been integrated.
  • You can now run or debug a single test case (method) in a suite (class) from the editor context menu.
  • It's now possible to rerun only failed tests.
  • The filtering of the test results view was improved. It' now allowed to select the result states (passed, failed, error) which will be hidden in the result view.
  • The tabbed output was implemented for the test results view.


Remote HTTP URLs are now supported for Javadoc in libraries and Java platforms. Downloading local Javadoc is still strongly recommended for performance and reliability.

Ant 1.8.1

The 1.8.1 release of the Apache Ant build tool has been integrated.


The IDE now bundles Maven 3. (Tools > Options > Miscellaneous > Maven always shows the exact version.) Maven3Embedder has details.

The bundled version of Maven was always used to interpret project metadata for display and editing in the IDE, but is now also used to run builds by default. You can change the Maven Home setting if you wish to use another Maven installation to run builds, but if you run into problems first check Maven 3 compatibility notes to see if any fixes can be made in your project.

There is an archetype (project template) for an empty project using POM packaging, which can serve as an aggregator for submodules.

Maven settings can now be exported from the Options dialog.

There have been various minor UI changes to the Maven support. Most visibly, "Libraries" is now "Dependencies". Long-running processes such as indexing the local repository can now be canceled.

The included archetypes, i.e. project samples, have been updated to include various changes ranging from the cosmetic, to those critical for Maven 3 support.

"Build with Dependencies" now automatically locates the root aggregator project for even deeply nested modules, making this action more useful for source trees that make heavy use of snapshot dependencies. There is no need to manually define a "reactor location".

The editor tab for POMs now displays the artifact ID for convenience, e.g.: "pom.xml [maven-aether-provider]"

"Reload in Target Platform" is now available for Maven NBM projects (as for Ant-based projects). For now it is necessary to "Build" (or at least "package") the project before reloading it.

If your project's classpath includes annotation processors registered for use by default (i.e. in META-INF/services), they will now be run by the IDE's editor. This allows you to make use of Project Lombok in Maven projects, immediately see semantic errors from registration annotations during NetBeans module development, and so on. For now the IDE does not interpret any custom configuration of maven-compiler-plugin in this regard.

Numerous other bugs have been fixed and small improvements made, some specific to Maven 3 support, others not. If you use Maven, please try Milestone 2 and report any problems that you find.

GUI Builder - New GridBagLayout Designer

The ancient visual editor for GridBagLayout was replaced with a new improved one, as an alternative to the default "Free Design" layout mode.

  • The GridBagLayout designer can be invoked the same way as before, via Customize Layout... action from context menu, available on panels with GridBagLayout set.
  • A new tutorial is just being prepared.


Java EE


  • Brand new server runtime node displaying deployed applications and resources.


  • JSF integration with server libraries. User can select which JSF library he wants to use.

  • Support for datasource creation and deployment. The datasource is created automatically when needed and stored in the project. When the application is being deployed the datasource is deployed as well.

  • Directory based deployment (exploded directory deployment), deploy on save. The IDE will use directory based deployment so no redeployment is needed when changing the web resources. The deployment is also much faster. Together with deploy on save no explicit action is required to push the source code changes to the server.
  • Improved properties dialog with editable username, password and JVM. You can select JVM vendor from the list of vendors.



Registration of 3.1

Restart a remote instance of 3.1

Enable and disable deployed applications

Debug a project on a remote GlassFish Server 3.1 domain that was not initially started in debug mode


View the log file of a remote server in the output window, like it was a local domain



Create and edit the glassfish-resources.xml file


Create domains that use the default ports from inside the IDE

Enterprise Application Client and EJB Module execution/debugging

Support for execution and debugging of standalone EE modules has been revamped:

  • both Enterprise Application Client project and EJB Module project can now be deployed to GlassFish v3 as standalone EE modules and do not have to be packaged in EAR application project anymore;
  • any main class in Enterprise Application Client project can be executed via a single Run File action and container context will be injected into it;
  • debugging of EAR application containing EJB Module and Enterprise Application Client will automatically starts two debugging sessions - one for EJB Module running on server and second for Enterprise Application Client running locally;

Expression Language

There are a couple of new features for Expression Language in JSF/xhtml views:

  • Error checking


  • Error badges


  • Find Usages for managed beans (JSF/CDI) and their properties


  • Rename refactoring for properties/methods and for managed beans in case they use the default bean name (support for explicitly specified bean names will be added later)


  • Mark occurrences


  • Mark occurrences for resource bundle keys


  • Tooltips


  • Tooltips for bundle keys


  • Hint for unknown properties


  • Hint for unknown bundle keys


  • JavaDoc popup in code completion


  • Code completion support for parameterized method calls


Web Services: REST

  • Improved "REST from Database" wizard code generation.
    The RESTful EJB (Session Bean) Facade is generated where methods are annotated with @GET, @POST, @PUT and @DELETE annotations. See the sample:


  • JSF Components suites and PrimeFaces

Bean Validation

  • Wizard for creating Constraint

  • Wizard for creating validation.xml
  • Wizard for creating mapping constraint file


  • Qualifier creation editor hint


  • Inspect Observers ( for given event )/Inspect Producer event ( for given observer ) are merged into one action along with Inspect Injectables : Inspect CDI. Result depends on context.





JPA Support

  • Generation of bean validation annotations for Entities
  • Generation of jaxb annotations for Entities
  • Improvement in Entities update and regeneration. Including new filters in Entities From Database wizard.

Web Languages

JavaScript and JSON

  • JSON Formatter - it's possible to format .json files.

HTML5 Editing Support

  • HTML5 is now supported by the netbeans html editor.

  • Improved html code validation by is performed





  • PHP 5.3 - support for aliases

File:Php_aliases_editor.png File:Php_aliases_editor2.png


  • Enhanced integration with the IDE - no need to perform an extra step to enable project for profiling. Everything works out-of-the-box.
  • CPU Thread Timer now enabled for all platforms
  • extact thread state monitoring added
  • timeline view for NPSS files


Since Oracle has discontinued further development of JavaFX Script, JavaFX support has been temporarily removed from NetBeans 7.0. Work on JavaFX 2.0 with Java APIs has been announced, and NetBeans IDE will be a primary tool for the new technology.

Java One Keynote

If you want to use JavaFX 1.3.1 and older, please download NetBeans 6.9.1. If you are interested in JavaFX Script language, consider also visiting this new open source project:

Announcing Visage – The DSL for Writing UIs


Disclaimer: The content of this NetBeans development wiki page is intended for pre-planning purposes ONLY. The development, release, and timing of any feature or functionality described here should not be treated as final, and is subject to change at any time at the sole discretion of Oracle. For more information about upcoming NetBeans software releases, please visit the NetBeans Roadmap or the NetBeans Release Planning wiki. Italic text

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