Thursday Sep 26, 2013

At the Java Demogrounds: The Internet of Things at JavaOne 2013

Throughout JavaOne (and Oracle OpenWorld) the movements of attendees were being tracked in an impressive demonstration that powerful applications of the Internet of Things can be rapidly put together in order to gather a host of data with relatively little expense or effort. Throughout the conference, IoT in Motion has been efficiently counting and tracking conference attendees in various locations to reveal the power and utility of end-to-end data collection and management technologies. IoT in Motion is a collaboration among Oracle, Eurotech, Hitachi Communication Technologies America (CTA), and Hitachi Consulting.

Oracle’s Jennifer Douglas provided a concise overview of the technology: “We have Hitachi Consulting, who helped build the actual application that is running the data, using an Oracle Exalytic box over at Open World and the Oracle BI (Business Intelligence) dashboard. People from the Oracle BI team also contributed to this. Hitachi CTA has their SuperJ running in conjunction with Oracle’s Java SE embedded through a gateway to the Eurotech Everyware Cloud, which collects the raw data. Then the Exalytic box compiles the data and converts it into something we can actually utilize.” All of the technology is running on Java.  

IoT in Motion is not to be confused with security tracking using face recognition software which can recognize and identify the movements of individual people. While it can distinguish a dog or a vehicle from a person, the stereoscopic camera merely registers and counts people going in and out of the spaces without monitoring any features of individual people. No one’s privacy is violated in the process of tracking.

Oleg Kostukovsky of Oracle’s Java Embedded Global Business Unit, articulated the importance of IoT in Motion for the Java developer. “This solution from end to end is built on Java,” explained Kostukovsky, “all the way from the embedded device to the back end. So a Java developer can leverage existing Java skills to develop the application. All of the underlying pieces and blocks to enable application development are already in place, so if you are customizing an application running on a gateway, there is a Java framework available for that. It’s the type of environment your typical java programmer is used to so they don’t need to know about any specific embedded stuff or connectivity with sensors. On the back end, we are leveraging Oracle middleware products – pure Java based. You can develop Java code and connect Java adapters to different sources of data. So there is nothing you need to know except your basic Java development skills – it’s very similar to a Java enterprise scenario. So the learning curve is very low.”

Oracle’s Internet of Things Platform

Wednesday Nov 21, 2012

Get Started with JavaFX 2 and Scene Builder

Up on otn/java is a very useful article by Oracle Java/Middleware/Core Tech Engineer Mark Heckler, titled, “How to Get Started (FAST!) with JavaFX 2 and Scene Builder.”  Heckler, who has development experience in numerous environments, shows developers how to develop a JavaFX application using Scene Builder “in less time than it takes to drink a cup of coffee, while learning your way around in the process”.

He begins with a warning and a reassurance: “JavaFX is a new paradigm and can seem a bit imposing when you first take a look at it. But remember, JavaFX is easy and fun. Let's give it a try.”

Next, after showing readers how to download and install JDK/JavaFX and Scene Builder, he informs the reader that they will “create a simple JavaFX application, create and modify a window using Scene Builder, and successfully test it in under 15 minutes.”

Then readers download some NetBeans files:
EasyJavaFX.java contains the main application class. We won't do anything with this class for our example, as its primary purpose in life is to load the window definition code contained in the FXML file and then show the main stage/scene. You'll keep the JavaFX terms straight with ease if you relate them to the theater: a platform holds a stage, which contains scenes.

SampleController.java is our controller class that provides the ‘brains’ behind the graphical interface. If you open the SampleController, you'll see that it includes a property and a method tagged with @FXML. This tag enables the integration of the visual controls and elements you define using Scene Builder, which are stored in an FXML (FX Markup Language) file.

Sample.fxml is the definition file for our sample window. You can right-click and Edit the filename in the tree to view the underlying FXML -- and you may need to do that if you change filenames or properties by hand - or you can double-click on it to open it (visually) in Scene Builder.”

Then Scene Builder enters the picture and the task is soon done.

Check out the article here.

About

Insider News from the Java Team at Oracle!

duke
javeone logo
Links


Search

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