How to Integrate Backbone.js with RESTful Web Services in 5 Minutes!

In NetBeans IDE 7.3, a Backbone.js file can be generated from a Java RESTful web service. The Backbone.js file contains complete CRUD functionality and your HTML5 application can immediately be deployed to make use of those features. Coupled with the NetBeans IDE two-way editing support for HTML5, via interaction with WebKit in Chrome, Backbone.js users have a completely new and powerful tool for coding their HTML5 applications.

The above is illustrated via the brand new YouTube movie below:

This makes NetBeans IDE 7.3 well suited as a learning tool for new Backbone.js users, as well as a productivity tool for those who are comfortable with Backbone.js already.


The list of javascript library includes angular, knockout etc.

Can you create a CRUD application in any of these in the same as you can for backbone? I guessing 'not yet'...

What is the priority regarding these javascript libraries? I know its a moving target but google trends provides some suggestions:,%20knockout.js,%20knockoutjs,%20ember.js

Posted by guest on December 10, 2012 at 02:58 PM PST #

Indeed, would be great to have similar support for other libraries. Could you create an issue in NetBeans issuezilla:

Posted by Geertjan on December 10, 2012 at 03:14 PM PST #

Interesteing to listen to the keyboard and mouse. Not!

Posted by guest on December 11, 2012 at 04:14 AM PST #

I have raised

Note that it has been raised under as

Product: javascript



Posted by pete_99 on December 11, 2012 at 04:50 AM PST #

Thank you.

Posted by Geertjan on December 11, 2012 at 12:23 PM PST #

I downloaded netbeans 7.3 Beta and I do not see the backbone features. Is this available as a plugin ?

Posted by guest on December 13, 2012 at 07:57 AM PST #

Are you sure you downloaded a distribution of NetBeans IDE 7.3 that includes HTML5 support? You can see on the Download page which distributions include HTML5 support:

Let me know if you need further help.

Posted by Geertjan on December 13, 2012 at 08:04 AM PST #

Thanks, got it working, great stuff

Posted by Carol McDonald on December 14, 2012 at 10:29 AM PST #

can you do this with php???
this is awesome!!!

Posted by guest on March 17, 2013 at 10:45 AM PDT #

The current google trends is skewed. Backbone is really the winner here......

Posted by Russ on July 10, 2013 at 07:41 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.


« July 2016