Geertjan's Blog

  • October 28, 2015

Available: Oracle JET Plugin for NetBeans IDE

Geertjan Wielenga
Product Manager

Since Oracle JET is simply a client-side framework, you're able to use any JavaScript editor or other tool to create Oracle JET applications. However, NetBeans IDE has special support for Oracle JET, via a new Oracle JET plugin, which will be part of the upcoming NetBeans IDE 8.1, and is already available in the update center for NetBeans IDE 8.1 RC 2:

What does the plugin give you? In the first place, the Oracle JET QuickStart Basic template, which you can also get from the Oracle JET site, but is handily available right in the IDE: 

Here's what the template above gives you, a nicely structured Oracle JET application, with all the goodies built in, ready for your business logic and HTML designs:

Furthermore, there's a fullblown example available, as well: 

Next, let's take a look at the JavaScript editor in NetBeans IDE, which has been enhanced with code completion and integrated documentation specifically for Oracle JET components:

...as well as the properties of Oracle JET components:

...and look what happens when I put my cursor in front of all the properties of the current Oracle JET component, which here is "ojButton"... 

...and now I change that current component from "ojButton" to "ojChart", and the properties available in code completion change appropriately, i.e., the code completion for properties of Oracle JET components is sensitive to the context of the Oracle JET component:

Moreover, NetBeans IDE has special support for the key open source libraries that constitute Oracle JET. For example, code completion support for RequireJS means it is easy to register new Oracle JET components. Note that an Oracle JET component is only loaded into the application if it is declared, which is pretty cool of course.

Together with the support for RequireJS, there's also really nice integration with KnockoutJS, especially for Knockout bindings, as you can see below:

And don't forget the seamless integration with the Chrome browser, also awesome for developing with Oracle JET:

Of course, the NetBeans team has been working on a wide variety of features for quite a while, in anticipation of Oracle JET being made available. All these new features certainly did not just drop out of the sky and integrate with each other so beautifully by coincidence!

Join the discussion

Comments ( 4 )
  • Chinni Krishna Saturday, July 23, 2016

    Creating a new project using JET plugin is downloading archive everytime. How to avoid this and use a local distribution? Can't the plugin maintain a copy of oraclejet.zip locally?

  • guest Friday, March 24, 2017

    Hi, it seems that the Oracle JET support plugin has been removed from NetBeans 8.2, is there any alternatives?

  • Geertjan Friday, March 24, 2017

    You don't need to install it anymore, it's been pre-installed. Just go to the New Project dialog and start creating your Oracle JET apps.

  • Logeshwaran R Wednesday, May 24, 2017
    How to build and deploy the OJET project using maven.
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.