Oracle Releases NetBeans 7.4 with JDK 8 and Mobile Web Application Support
After previewing it at JavaOne, Oracle has now officially released NetBeans 7.4. The new release allows developers to work with the JDK 8 previews, adds support for integrating HTML5 into Java EE applications, and provides tools for developing mobile applications with Apache Cordova.
Perhaps the most significant new feature of JDK 8 is the addition of lambda expressions as an alternative to writing anonymous inner classes. NetBeans provides tools to search for anonymous inner classes, and additional tools that can convert them to lambda expressions and back again.
JDK 8 also sees the introduction of three compact profiles, a pre-defined subset of functionality designed such that applications that do not require the entire platform can be deployed and run on small devices. The NetBeans IDE lets you specify the profile to which your application should comply. Hints, analysers and refactoring tools are provided to help you ensure compliance with a given profile. You can also instantly switch between different profiles using the properties window.
With IntelliJ IDEA 12 already offering support for JDK 8, and Eclipse offering early access builds with support, it's clear that JDK 8 should be well supported from the IDE perspective straight out of the gate.
NetBeans' excellent HTML5 support continues to improve. In this release, a wizard has been added that generates a Backbone.js front-end that connects to a specified RESTful end-point in a Java EE application for the first time.
There are a number of other smaller enhancements including integration of JIRA and Bugzilla issues into the new Task Management window. You can create issues in the IDE and work with them directly as you code.
Finally, NetBeans' out of the box support for Mercurial, Subversion, and Git has been improved with fine tuning diffing and reintegration between branches.
The NetBeans IDE is a free, open source IDE available for Windows, OS X, Oracle Solaris, Oracle Linux, and other Linux distributions. You can download it here. OS X users should be aware that the text rendering in 7.4 appears to be less clear than in 7.3. A bug report has been raised for this.
Stephanie Davis (nee Stewart) Dec 21, 2014