
Avatar.js
First session of the day: Avatar.js. This should have been a dual-speaker session, but one of the speakers was late. Eventually his partner started the session. He was a Russian speaker, very nervous and excused him for his bad English. He had a very hard time telling his story. From what we understand, Avatar.js is a JavaScript library that uses the same technology to run Node.js, but from the Nashorn JavaScript engine available in Java 8 VM. In the demo, he used the module pdf2json to convert a pdf document to a JSON object.
Controlling Robots with Java and ROS
Lambda’s and Laughs
Speaker of Lamda’s and laughs is Jim Bethancourt. Because of the large number of people that wanted to attend this session, it was moved to another room. It took a while for all the poeple to switch to the other room. I was on the waiting-list, but I scooped in. Jim started with some warm-up talk while people were still getting into the room, with a few nerd-jokes and he discussed how to start a successful and fun Java User Group. He introduced a few funny experiments like stand-up comedy presentations, where you start an automated presentation where the slides auto-slide on fast speed automatically and you have to keep up with that. Or do Java or nerd-based flash-mobs. The talk itself was basically an introduction to Java 8 Lambda’s, but littered with meme’s and pictures with audience interaction (MOAR-picture).
Robots, the Raspberry Pi, and Small Devices
Gosling talked about JavaSE running on an ARM processor, in a box on an unmanned solar-powered (robotic) boat. The challenge here was, since these boat-robots are dropped in the Arctic, they just HAVE to work (and more specifically have to work in salt water). So the only indicator for Gosling is the little green lightbulb in the corner of the screen. The setup uses real-time data from the robot and graphics showing a map with GPS data from the robot. He then introduced a number of speakers with examples of how Netbeans integrates and deploys Java embedded code to different devices using Raspberry PI boards. A German speaker showed a project, where they built a status monitoring dashboard with integration of Jenkins and Sonar data running on Raspberry Pi. Second (Spanish) speaker showed an interface connected via the cloud to his Raspberry Pi in Spain. It ran Glassfish to provide an interface on the laptop to show the webcam on a lamp at home and switch the lamp on and off using websockets. The lamp was located in Spain. Final speaker used Netbeans to execute byte code in the cloud such that you could use it from anywhere (laptop, any smartphone AND smartwatches etc.). Why? He was attacked by a robot while he was 16, because he had to stand in front of the robot to hit <enter>. If only he was able to start the robot’s program from his phone or watch, that wouldn’t have happened.
Free Java Tools for Maven and Java EE
- Start with an empty-ruleset and add rules that matter to you. Generic rules-lists gives you 25k rules violations, which you do not want to fix.
- Run it first on your own code and fix your mistakes first, before showing how clean your code is to your colleagues. New developers often start using Eclipse and the combination with Maven mostly using the terminal. It often delays the build-cycle. Netbeans has native maven support, so in contrary to eclipse command line maven build and IDE build give the same result.
