Javascript is the most popular programming language* and its usage has grown 25% in the past year**. It’s widely used and so it stands to reason that Oracle now released a brand new JavaScript toolkit called Oracle JET (JavaScript Extension Toolkit).
Oracle says “Oracle JET is targeted at intermediate to advanced JavaScript developers working on client-side applications. It’s a collection of open source JavaScript libraries along with a set of Oracle contributed JavaScript libraries that make it as simple and efficient as possible to build applications that consume and interact with Oracle products and services, especially Oracle Cloud services.”
JET is a toolkit bases on JavaScript, CSS3 and HTML5 design and development principles and offers support for ‘Accessibility’ and ‘Internationalization’. It targets JavaScript developers working on client-side web applications.
JET is based on several open source libraries such as JQuery and Knockout and has a highly modular structure with the purpose of allowing you to pick and choose the functionality that suits your needs.
One may argue that Knockout is not the most modern library choice to include in JET, but Oracle did not make this decision lightly. Instead of going for an all-in-one solution like AngularJS, they really aimed at keeping JET modular. So they chose libraries that are tailor made for their specific propose. In case of Knockout this means a lightweight library that excels at providing a declarative two-way data-binding.
So how does OracleJET fit in with the other frameworks like ADF and MAF? The information released at OOW15 focused/differentiated mainly on the target audience and stated that:
- Oracle ADF is for Java developers looking for a more declarative development approach to build web based applications.
- Oracle JET is for intermediate and advance JavaScript developers looking to build web bases applications.
- Oracle MAF is for developers looking for a more declarative development approach to build on-device mobile applications.
Additional comparison data was mainly tech based as stated in the table below showing JET vs ADF and the slide photo depicting the target audience.
Oracle ADF | Oracle JET | |
---|---|---|
Who is it for | Java Developer | JavaScript Client Developer |
Where it runs | Server | Client |
Development Experience | Declarative | Code centric |
Development Tools | JDeveloper / OEPE | Any |
Architecture | MVC | MVVM |
Data Services | ADF BC, EJB/POJO, SOAP, REST | REST, JSON |
Customization & Backward Compatibility | MDS and XML based | Develop Your Own |
Based on | JAVA EE | Popular open source libraries |
Integrated Solutions | SOA, BI, WebCenter | Application Builder Cloud Service |
What Oracle Builds with it | Saas applications | PaaS products |
Listening to all the OOW15 sessions about JET showing Oracle has put a lot of effort in the toolkit and plans to continue to do so in the future makes this a framework worth considering when choosing your web-application technology. The availability of a huge set of Data Visualizations UI component (which should be familiar for those working with ADF) makes it a powerful tool for developing web application in the Oracle Alta UI style.
The JET release pace will be much higher compared to other products, namely every two months and they are planning to open source JET ‘soonish’! (legally, official dates can not be announced).
There is lots more to tell about Oracle JET, but in my experience the best way to get familiar with a new technology is by using it.
The easiest way is to download the QuickStart template code from the JET homepage, see ‘Getting started’ and use the Cookbook to copy-paste various UI components into your new project.
In addition to the cookbook you can watch the OracleJET youtube channel.
*The RedMonk Programming Language Ranking, June 2015
**codeval: Most popular coding languages of 2015, February 9, 2015