JavaOne Russia 2013

I'd like to interrupt the relentless stream of data on new NetBeans Platform applications, made possible despite the fact that everyone is supposedly only creating mobile and web apps nowadays, which has been going on consistently one per day in this blog every day for over a month, weekends included, well spotted and supported by Kevin Farnham on java.net and Yolande Poirier in "Everything on the NetBeans Platform", to briefly report on something slightly different. I recently attended JavaOne Russia in Moscow, last month, 23 and 24 April, 2013. Around 2000 attendees, approximately twice as many as last year. That statistic on its own indicates it was a great conference. I attended last year too. Clearly this year was bigger and better.

Duke's Choice Award

The big news from a NetBeans point of view (but also, of course, Java in general) was that one of the three Duke's Choice Award winners was the air traffic control system created in St. Petersburg on the NetBeans Platform. From https://www.java.net//dukeschoice/russia:

VNIIRA created an air traffic control system, consisting of dozens of Java NetBeans modules, that allows tracking of hundreds of flights using primary and secondary surveillance radars. Application features include flight tracking, conflict detection and resolution, data display from various sources, together with playback and recording of all system events and user actions. Using the modular NetBeans Platform, the team was able to compose features from multiple modules to provide the necessary functionality tailored to various roles, from flight executive officer to air traffic controller to combinations of these.

A screenshot:

I discussed this application some time ago here:

https://blogs.oracle.com/geertjan/entry/new_russian_air_traffic_control

Alexandre Teterin and Mikhail Kuznetsov, two of the key developers on the above project, were at the conference too. It was great to meet them. Afterwards, Alexandre pointed me to the link below about the news about the Duke’s Choice Award on the site of the major Russian government news agency ITAR-TASS:

http://www.itar-tass.com/c48/718928.html?utm_source=dlvr.it&utm_medium=twitter

Also, this news was cited by another official agency, INTERFAX:

http://www.almaz-antey.ru/about/press/production/1449.html

Alexandre writes: "Maybe this news will help in hotting up the attention of government (and private) enterprise management to the usefulness of the NetBeans RCP."

Some other applications in and around Russia that have been created on the NetBeans Platform include Platypus Platform, Silver Solution Studio, ObjectsX, Epictetus Database Manager, and a set of reservoir simulator applications.

Unlocking the Java EE Platform with HTML5

I led a hands on lab on the NetBeans IDE tools for creating hybrid Java EE / HTML5 applications, to a packed out room:


In general, I think everyone learnt something from the lab, they were all using NetBeans IDE 7.3, creating Java EE applications (especially using JPA and JAX-RS), and displaying the results in a an HTML5/JavaScript client:

The PDF used in the lab can be found here:

https://blogs.oracle.com/geertjan/resource/HOL1280_UnlockingJavaEEPlatformwithHTML5.pdf

And another way to attain the same result is to follow the instructions in this article:

http://jaxenter.com/from-database-to-restful-web-service-to-html5-in-10-minutes-46064.html

Strategies for Loose Coupling for the Java Desktop

Later in the conference I did a session on loose coupling in Java desktop applications, using patterns and strategies from the NetBeans Platform. Unfortunately, at the same time as my session, Paul and Gail Anderson were doing a very similar session, about the NetBeans Platform and JavaFX. Together, we had about 80 attendees, so we could have had a full room if our attendees hadn't beeen split across two sessions.

Here's an impression from my session, Alexandre Teterin was there too, he talked a few minutes about the air traffic control system that won the Duke's Choice Award. Unfortunately, I didn't take a pic of him while he was talking!


Most of the presentation was a generic introduction to the NetBeans Platform. The reasons for using the NetBeans Platform were covered, many examples were shown, and key concepts, such as "Module" and "TopComponent" and "Node" were touched on:

http://edu.netbeans.org/contrib/slides/netbeans-platform/strategies-for-loose-coupling-j1russia.pdf

I then discussed in detail a real life use case, based on Alexandre's scenario, i.e., an air traffic control system. The imaginary requirement is that an air traffic control system needs to be developed, for managing runways and their engineers, but that the implementations for our two customers, one in Moscow and the other in St. Petersburg, need to be slightly different. The imaginary Moscow airport has multiple runways, while the imaginary St. Petersburg airport only has one runway. Hence, the feature for reassigning engineers to different runways is only relevant to Moscow, not to St. Petersburg.

How to create a codebase that effectively handles the above requirements? I discussed that the starting point would be to create a RunwayFramework, i.e., a suite of modules that provide base functionality for all implementations. Next, on top of that basis, two applications, one for Moscow, one for St. Petersburg, can be created. Each runway (with imaginary names such as "Pushkin") is defined within its own module and loaded into the system at runtime, so that the application can be extended via modules, either at design time or runtime.

The above structure is visualized as follows in the IDE:

And here's the Moscow implementation, each top node in the Runway Viewer showing the available runways, with their engineers, together with a button in the toolbar that is highlighted when an engineer is selected, so that the selected engineer can be reassigned to another runway. Clicking on a runway shows the runway (in the prototype below, each runway is simply an image of course):

Next, here's the St. Petersburg implementation, which only has one runway, hence there's no button in the toolbar (other than the Save button, which is there too in the Moscow implementation) for reassigning engineers to runways:

A few people have expressed an interest in playing with this code and adapting it to other purposes. Here each of the above can be found and downloaded:

https://java.net/projects/nb-api-samples/sources/api-samples/show/versions/7.3/misc/RunwayFramework

https://java.net/projects/nb-api-samples/sources/api-samples/show/versions/7.3/misc/MoscowATC

https://java.net/projects/nb-api-samples/sources/api-samples/show/versions/7.3/misc/PetersburgATC

In addition to the above, I attended sessions on JavaFX (by Steve Chin and Jim Weaver), as well as a Steve Chin session on the Raspberry Pi. Good times with Paul and Gail Anderson, in particular, too, wandering around a very tall shopping mall on the last night especially.

And, finally, I spent a lot of time at the Tretyakov, I especially liked the collection of late 19th century Russian paintings.

In short, JavaOne Russia was great, I really enjoyed it, great to be in Moscow, and I met a lot of cool Java developers at the same time.

Comments:

Hi Geertjan. I was on your JavaOne 2013 master class in Russia. It was really great, thank you very much! You told us about a site where we can find good html templates for our test applications. Could you remind please the url of this site? Thank you in advance.

Posted by guest on June 14, 2013 at 01:35 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

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.

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
12
13
14
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today