X

Geertjan's Blog

  • October 7, 2014

JavaScript at JavaOne 2014

Geertjan Wielenga
Product Manager

I participated as a speaker in two sessions that related to JavaScript at JavaOne this year:

Coding for Desktop and Mobile with HTML5 and Java EE 7 [CON3143]. A session with JB Brock, where he created a KnockoutJS front-end on top of a Java EE back-end that I generated from NetBeans IDE 8.0.1. He also deployed the front-end to the Chrome browser on his iPhone, enabling him to debug the running app from NetBeans, after which I showed how to use Cordova, integrated within NetBeans, to generate a hybrid app, which I deployed to the Genymotion Android emulator.

Simplifying JavaScript/HTML5 Rich Clients with Java EE [CON6170]. A session with Johannes Weigend, where he started with Yeoman on the command line, generating the starting point for a front-end, which he connected to a Java EE back-end that I generated in NetBeans IDE 8.0.1.

In both cases, RESTful Web Services were used to expose the data that the front-ends consumed. 

In both cases, the room was totally packed out, standing room only. For example, here's a pic I took from behind JB's head, to give an impression of the crowd he saw while doing his presentation:

A lot of people were interested in the source code, since both sessions were very heavily code driven.

Here's the code for the session with JB:

https://github.com/peppertech/peppertech-playground 

Here's the code for the front-end that Johannes created:

https://github.com/jweigend/JEEAngularCRUD/ 

The above give you access to the front-ends only, since the back-ends are simple to create via the relevant code generators in NetBeans IDE. 

A key message in both sessions was that a central problem in doing hybrid JavaScript/Java development, especially when you need to develop for and deploy to multiple different kinds of devices, is that you need a set of tools that can seamlessly work with both of these development platforms, as well as all of the deployment targets. And that set of tools is named "NetBeans IDE"

Join the discussion

Comments ( 2 )
  • Mark Wednesday, October 22, 2014

    I attended CON6170. It was impressive.

    Do you have a video that shows how you did your part of the demo?

    Did you need any special plug-ins (e.g., Prime Server Faces), or were they all included in the NetBeans 8 JEE distribution?

    Thanks


  • Geertjan Thursday, October 23, 2014

    No plugins were used by me, at all. PrimeFaces is a standard part of NetBeans IDE, for example, watch this: https://www.youtube.com/watch?v=5aTFiNxzXF4


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.