While NetBeans has always been the Java IDE, support for other languages has crept in over time. Today, NetBeans 7.3 was released, bringing with it a host of new support for CSS3, HTML5 and JavaScript. The core Java IDE, however, received only minor updates.

There was one Java-related update of note in NetBeans 7.3, however: Java EE users can now automatically generate a REST client, given some existing client source code to analyze.

This new feature is reminiscent of the days when service-oriented architectures roamed freely in the enterprise, and when WSDL wasn’t a bad word. John Brock, principal product manager at Oracle, said that this capability is aimed at giving Java EE developers a simple way to get started when building a Web-based front end for their existing Java EE applications.

“We saw that there were Java EE developers out there that…hadn’t quite had the time to understand JavaScript, let alone understand Backbone.js or AngularJS or these other JavaScript frameworks,” he said. “We saw that as a possible pain point. The developers said, ‘Give me some examples, give me a starting point,’ and in this case it’s not the same as the SOAP days, where you could grab service objects and do deep analysis to automatically build a client. In this case, [NetBeans’ client creation capability] requires a project or a REST service that you have written yourself and have the source code to, today.”

Thus, NetBeans 7.3 can output a Backbone.js-based UI for your Java EE service, provided you’ve already written a client for it to inspect.

JavaScript equipped
Brock said that the Web is where most clients are being built. As such, Java back ends often have to speak to JavaScript front ends, and use CSS3 and HTML5 for visualizations.

Brock said the NetBeans team had noticed that Java developers who had written client-side applications for their back-end systems were “having to understand how to make it pretty with HTML5 and CSS3 when they were done. What we wanted to be able to do within the IDE itself was allow developers to interact more intelligently and efficiently with HTML5 and CSS3.”

To that end, the team embedded a WebKit browser into the IDE, added a Chrome extension, and streamlined the process of debugging applications based on JavaScript.