Thursday Dec 19, 2013

Java Rocks More Than Ever

In a series of blogs full of technical detail and cross-platform comparison, senior developer Geert Bevin from ZeroTurnaround gives 10 reasons why Java is a great technology. He built software for musical instruments using C++, with Juce Library and CPython, and realized that he missed a lot from the Java ecosystem.

He has written the first six blogs, which include Java Compiler, the core API, Open Source, the Java Memory Model, HighPerformance VM and Bytecode. In his first blog about Java Compiler, he gives examples and recommendations on how to use the JVM's just-in-time, the compiler code versus the architecture, runtime rather than static or dynamic linking. 

Upcoming topics include: 
Intelligent IDEs
Profiling Tools
Backwards Compatibility
Maturity With Innovation

Tuesday Dec 17, 2013

Interview about Leap Motion with Geert Bevin

"The Leap Motion controller is a tiny device that measures the position of your hands in 3D space and it gives you a bunch of information so you can do things with that data." explained ZeroTurnaround Senior Engineer Geert Bevin. He created an application that allows users to make music with their hands; another that maps a series of gestures for keyboard and mouse commands for games. He showcased how to use it to control a computer and a game. 

Tuesday Dec 10, 2013

Internet of Things Interview

Java Evangelist Jim Weaver, Senior Engineer Gerrit Grunwald and Community Manager Yolande Poirier discussed the Internet of Things(IoT), Java Embedded, and the new IoT community page on Java.net. The page gathers blogs, resources and many sample applications from Java developers who create embedded applications with Java. "If we prepare developers correctly to be able to program those devices and put structures in place that monitor and control those devices, then we can have a very productive world of development: one that is powered by Java, that has the underline security and needed APIs, and that leverages Java developer expertise" Jim explained. 

"I use one Raspberry Pi with Open Dophin and many sensors to synchronize data instead of multiple Raspberry Pi's" explained Gerrit Grunwald. "Over the last 10 years, the server side was prepared very well and now it is time for the embedded side to catch up and combine everything in one big Java world" he added 


Tuesday Dec 03, 2013

Hackergarten at Conferences

In this video interview, senior architects Andres Almiray and Swen Reimers discussed hackagarten event taking place during the conferences. "A hackergarten is group of people coming together for a couple of hours. We decide the open source projects we want to code on. It can be fixing a bug, adding a new feature, creating a screencast, testing features and giving feedback to the project. The goal is to contribute to an open source project" explained Andres.

Devoxx Hackergarten focused on Java EE Lambda projects this year. Swen was the project lead and mentor for the Lambda projects. Some of them worked on JavaFX and Lambda event threads. "We discussed why things would not fit in an API, the lambda syntax, and what is available or not" Swen mentioned. They are running hackergarten around the world. The next ones will be at JFokus, JavaLand and the monthly events in Basel, Switzerland.

Monday Nov 25, 2013

Lego, Robots and Java!

In this video, Java Evangelist Angela Caicedo talked about her new Duchess robot built with Lego Mindstorm. "We are moving into the Internet of Things and I am looking for cool devices that we can connect and use Java" said Angela   

The robot is connected to touch and color sensors, has a gyroscope to orient and prevent it from falling, 2 motors for the wheels and another for arms, and an infrared sensor for the remote control. 

Thursday Nov 21, 2013

Coding at Internet of Things (IoT) Hack Fest

Devoxx IoT Hack Fest offered the chance for attendees to code with Java Embedded for multiple devices. Attendees built embedded applications using devices and sensors in just a couple of days. A pre-configured panel, created by Globalcode founder Vinicius Senger, a long-time Java embedded developer and trainer, connects Raspberry Pi, Arduino, Beaglebone black, and Gemalto boards to a series of sensors such as distance, motion, alcohol and temperature sensors, as well as relays and camera. Those components are accessible remotely via a web server and REST calls. A new addition to IoT Hack Fest at Devoxx was the Leap Motion. ZeroTurnaround senior developer Geert Bevin lent nine Leap Motion controllers, gave a training session and was the onsite mentor for the Leap Motion.  

During two days, attendees learned and hacked the panel and the Leap Motion. For example, Hartmut Lang hacked a sensor distance and the blink(1) component with Java Embedded Suite, Jersey API. He turned on a ThingM blink(1) multi-colored USB light via the proximity sensor on the Java Embedded Panel. The proximity data is accessible through a Java sever running on a Raspberry PI with an Arduino bridge. REST calls give access to the current sensor data. This was then translated to Java calls that control the intensity of the blink(1) light. Everything was programmed in Netbeans and was running on a dedicated Raspberry PI.

A number of projects were about controlling the relays using Java SE Embedded, Pi4J and JavaFX. They connected their applications to the panel with the Raspberry Pi's and relays. Others worked with JavaFX and Raspberry Pi. They created a distance measurement using Fuzzy Logic, Arduino, Java Embedded Suite, RXTX, Things API and JavaFX to control lights. Thomas Kriechbaum worked with Java SE Embedded, Apache Camel, MQTT for Android, MQTT with Camel and Mosquito to control actuators and reading sensors. Geert Van Landeghem built an animation framework for LCD displays using Java SE Embedded, Pi4J/I2C and LCDPlate Adafruit

Senior software architect Claude Falguière created an interactive game to teach kids the principle of programmed operations. This is done by leading a robot through a maze. Changing the directions of the robot is done via hand gestures with the leap Motion controller. Each direction change is recorded as a card and shown as the list of operations. These can be manipulated and started again.

An ant-chasing game, written in Scratch used the Leap Motion plugin with a Java application for the gesture-interpreting gateway. Players moved their fingers around in the air and an ant chased its movements. 

Geert Bevin created an application controlling multi-colored led strip with hand gestures. The Leap Motion controller detects hand position in 3D-space and sends the X/Y/Z data straight to the led strip to control the intensity of the red/green/blue lights. The led strip was connected to a Raspberry PI with an Arduino bridge and could be piloted through REST calls running on an embedded Java server. In this video, Geert explains the project.  

More projects online at the IoT Community on Java.net

Tuesday Nov 12, 2013

Don't Miss Out at Devoxx!!!

Come by IoT Hack Fest which starts with the session: kickstart your Raspberry Pi and/or Leap Motion project, part II on Tuesday from 9:30am to 12:00pm to learn how to start a project with the Raspberry Pi and Leap Motion. In the afternoon, you can still join a project and create your own project with the help of experts on Raspberry Pi, Leap Motion and other boards. 

At the Oracle booth, Java experts will be available  to answer your  questions and demo the new features of the Java Platform, including Java Embedded, JavaFX, Java SE and Java EE. This year, the chess game that was first demoed at JavaOne keynotes last September will be showcased at Devoxx. 

Duke is coming to Devoxx this year. You can get your picture taken with Duke on Tuesday, Wednesday and Thursday (Nov. 12-14) from 12:00 to 18:00

Beer bash will be Tuesday from 17:30-19:30 and Wednesday/Thursday from 18:00 to 20:00 at the booth. Oracle is raffling off five Raspberry Pi's and a number of books every day. Make sure to stop by and get your badge scanned to enter the raffle. Raffles are Tuesday at 19:15 and Wednesday/Thursday at 19:45 at the Oracle booth. 

The main conference sessions from Oracle Java experts are: 
Wednesday 13 November
Beyond Beauty: JavaFX, Parallax, Touch, Raspberry Pi, Gyroscopes, and Much More
Angela Caicedo, Senior Member, Technical Staff, Oracle Room 7, 12:00–13:00
Lambda: A Peek Under the Hood, Brian Goetz, Software Architect, Oracle Room 8, 12:00–13:00
In Full Flow: Java 8 Lambdas in the Stream, Paul Sandoz, Software Developer, Oracle Room 8, 14:00–15:00
The Modular Java Platform and Project Jigsaw, Mark Reinhold, Chief Architect, Java Platform Group, Oracle, Room 8, 15:10–16:10
The Curious Case of JavaScript on the JVM, Attila Szegedi, Principal Member, Technical Staff, Oracle, Room 5, 16:40–17:40
Is It a Car? Is It a Computer? No, It’s a Raspberry Pi JavaFX Informatics System.
Simon Ritter, Principal Technology Evangelist, Oracle Room 7, 16:40–17:40

Thursday 14 November
Java EE 7: What’s New in the Java EE Platform Linda DeMichiel, Consulting Member, Technical Staff, Oracle, Room 8, 10:50–11:50
Java Microbenchmark Harness: The Lesser of the Two Evils, Aleksey Shipilev, Principal Member, Technical Staff, Oracle. Room 6, 14:00–15:00
Practical Restful Persistence, Shaun Smith, Senior Principal Product Manager, Oracle Room 8, 17:50–18:50

Friday 15 November
Avatar.js, Server-Side JavaScript on the Java Platform, Jean-Francois Denise, Software Developer, Oracle Room 8, 11:50–12:50

Monday Nov 11, 2013

Hack Fest Going Strong!

Today was the first day of  the IoT Hack Fest at Devoxx, the Java developer conference in Belgium.  The IoT Hack Fest started with the Raspberry Pi & Leap Motion hands-on lab. Vinicius Senger introduced the Java Embedded, Arduino and Raspberry Pi. Java Champion and ZeroTurnaround Geert Bevin presented the Leap Motion, a controller sensing your hands and fingers to play games by controlling the mouse for example. "Programmers are cooler than musicians because they can create an entire universe using all senses" explained Geert

Participants started building applications in teams using Raspberry Pi, sensors and relays. One team tested the performance of Tomcat, Java EE and Java Embedded Suite on the Raspberry Pi. Another used built an text animation using a LCD screen. Some teams are using the Leap Motion to close and open programs on the desktop and others are using it as a game control. 



Friday Oct 18, 2013

Nighthacking with James Gosling

Java Evangelist Stephen Chin is back on the road for a new NightHacking Tour. He is meeting with James Gosling at Kona, Hawaii, the launch base of the Wave Glider. The Glider is an aquatic robot which communicates real-time data from the surface of the ocean. It runs on an ARM chip using Java SE Embedded. 

"During this broadcast we will show some of the footage of his aquatic robots, talk through the technologies he is hacking on daily, and do Q&A with folks on the live chat" explains Stephen Chin. 

Sign up for the live stream on Wednesday, October 23rd at: 

8AM Hawaii Time
11AM PST
2PM EST
20:00 CET

Follow @nighthackingtv for the next Nighthacking events

Tuesday Oct 01, 2013

At the Java Demogrounds: What’s Happening with Java SE?

Over at the Java SE demo booth, Oracle’s Aurelio Garcia-Ribeyro, Senior Group Product Manager, briefly discussed JDK 7 and  JDK 8.

“People may not realize that we’ve recently added new functionality to JDK 7,” he said. “So with JDK 7 u40, we added Mission Control and Flight Recorder to the JDK, something we're very proud of. Flight recorder is a feature that works a little like the flight recorder on a plane; you leave it on and it doesn’t really impact your production. It simply runs, and if you encounter an issue, you can go back and discover what triggered it after the fact. It’s quite useful in debugging horrible problems that occur only in production that you cannot really catch when you’re developing because you need it to be going for 15 days with a slow memory leak, but you don’t want to have to reproduce that because it’s costly and you don’t know when it happens. With flight recorder you just leave it on, set a trigger, and when something goes bad, it helps you figure out what triggered that event.”

I asked him about Java SE 8, which is scheduled for release in March of 2014.

“If you want to play with it, go to https://jdk8.java.net/ and download the developer preview. We’d like you to first try your existing projects, which should work just fine. Then after that, you should start playing with the new features like lambda and JSR 310, the Date and Time API. Lambda is the biggest change to the developer programming model. We are very excited about this.”
About

Insider News from the Java Team at Oracle!

duke
javeone logo
Links


Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
2
5
6
7
12
13
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today