Friday Mar 28, 2014

I2C Components and Raspberry Pi

Learn how you can configure I2C components to connect your Raspberry Pi to peripherals. The I2C Components and Raspberry Pi Google Hangout will be live on Tuesday, April 1, 2014: 10:00am - 12:00am in Singapore time; 7:30am - 9:30am in India Mumbai; 11:00am - 1:00pm in Tokyo Japan; and Monday, March 31, 2014: 7:00pm - 9:00pm PT in USA; 2:00am - 4:00am UTC. Ask your development questions on our support forums or twitter using #IoTDevChallenge.  

This training is part of a series about the Internet of Things, Java, Gemalto and Raspberry Pi designed to help developers, students and hobbyists to develop an application for the IoT Developer Challenge

Wednesday Mar 26, 2014

Hacking with Raspberry Pi and Java

Two new videos about Raspberry Pi GPIO with Java are now available. This hands-on training  is part of the IoT Developer Challenge and will help you to create a winning project to submit. This is a great opportunity to win a trip to JavaOne 2014! Submissions are accepted until May 30, 2014

In the first video, you will learn about the Raspberry Pi set up and the installation of Java SE Embedded and JavaFX. In the second video below, expert Vinicius Senger explains the Raspberry Pi GPIO and protocols as well as how to use the Pi4J project, a set of libraries enabling the access of the Raspberry Pi with Java. Vinicius also gives several demonstrations using a camera, LED lights, buttons and a relay board to connect to appliances. You can download the code of his demonstrations, including Pi4J Helloworld, PiPicture, Twitter4Pi and Lcdl2C

Tuesday Mar 11, 2014

Java 8 at EclipseCon 2014


Oracle is sponsoring a full day of Java 8 at EclipseCon on Tuesday, March 18, 2014. With Java 8 being released on that day, you will be the first to hear from the Java 8 architects after the release. 

As part of the program, Java architect Stuart Marks and engineering director Georges Saab will discuss the new features in Java 8. Java architect Alex Buckley will present lambdas. Expert Thomas Schindl will tackle JavaFX 8.  

The late afternoon will be about the Internet of Things and embedded Java ME and SE, a big focus of the Java 8 release. Java architect Hinkmond Wong will present Java SE 8 compact profiles for embedded development. Expert Robert Clark will explore how to bring Java to the Internet of Things. 

Join us on March 18 for an evening reception from 18:00 to 19:00. 

Wednesday Mar 05, 2014

JavaOne 2014 Call for Papers Now Open!

It is time to submit all those talks you have been thinking about. "We have a huge focus on community at this event, and it would be great to have many proposals from the developer community." explains JavaOne Content Chair Stephen Chin.

There is a new dedicated track for Agile development this year, making a total of nine Java tracks.  This year's tracks are: 

• Clients and UI
• Core Java Platform
• Internet of Things
• Java Virtual Machine Languages
• Java and Security
• Tools and Techniques
• Server-Side Java
• Java in the Cloud
• Agile Development

There is no time to waste! The call for papers closes April 15th at 11:59 p.m. PDT  

You will receive a complimentary pass to JavaOne with an accepted talk.

There is a rolling submission process, so submit early! 

Wednesday Feb 12, 2014

Register today for the Oracle Java ME Embedded MOOC!

By Guest Blogger Tom McGinn 

We are pleased to announce that the Oracle Massive Open Online Course: Develop Java                             Embedded Applications Using a Raspberry Pi is open for enrollment.

The course will start March 31st!

Enroll

Java Embedded leverages your experience with Java to open the world of the Internet of                                     Things by providing direct access to electronic sensors and mechanical devices.

This free course, designed for Java developers, is delivered over 5-weeks. Take the course                                       at your own pace - weekly we will add new lessons, quizzes and homework assignments.

You will work on a real-world application to:

  • Read input data from switches and drive LED's using the GPIO interface
  • Read temperature and barometric pressure from an I2C device
  • Read the device's current location using a GPS UART device
  • Store and manage data collected
  • Report data to a client through a variety of communication options
  • And more!


Wednesday Jan 15, 2014

Java 8 is Coming to EclipseCon

By Guest Blogger Ian Skerrett

We are very pleased to announce that we have added a Java 8 Day to EclipseCon 2014. Java 8 is scheduled to be released in March, close to the same time as EclipseCon, so we thought it would be great to have EclipseCon attendees participate in the launch of the new Java release.

In collaboration with Oracle, a new 1 day event has been added to the EclipseCon schedule. EclipseCon attendees will have the opportunity to learn about Java 8 from Oracle and Eclipse experts. There will be sessions about Lambda’s, JDT support for type annotations, the new Java 8 compact profile, JavaFX, api design with Java 8 and more. It will be a great way to accelerate your adoption of Java 8. Check out the complete schedule.

The Java 8 Day will take place on Tuesday, March 18 at the Hyatt Regency Hotel San Francisco Airport. We will be offering $200 day passes for developers that just want to attend the Java 8 content. Of course all EclipseCon attendees will also be able to attend.

Register today to take advantage of the early prices.


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

Monday Oct 14, 2013

JavaOne 2013 Review: Java Takes on the Internet of Things

A new article, now up on otn/java titled “JavaOne 2013 Review: Java Takes on the Internet of Things,” takes a look back at the lively happenings at JavaOne 2013, which reprised the 2012 JavaOne "Make the Future Java" theme. The articles quotes JavaOne keynoter Peter Utzschneider, Vice President, Java Product Management at Oracle, who said, "There is a lot going on in the industry, with massive shifts and innovation happening which pose huge challenges and opportunities for Java."

He observed that Oracle shares a common goal with the Java community—to make Java better, stronger, more robust, and relevant for decades to come.

The article reviews the extraordinary success of the Java platform:
* There are 9 million Java developers worldwide.
* It's the #1 choice for developers.
* It's the #1 development platform.
* 3 billion mobile phones run Java.
* 100 percent of Blu-ray disc players ship with Java.
* 97 percent of enterprise desktops run Java.
* 5 billion Java Cards are in use.
* 7 billion Java Cards have been sold.
* 89 percent of desktops run Java.
* 125 million TV devices run Java.
* Five of the top-five OEMs ship Java.

A central theme of JavaOne 2013 was how Java makes a perfect fit for the coming Internet of Things (IoT):

“First,” the article points out, “the Internet of Things (IoT) is here to stay and is likely to alter our daily lives in coming years. As embedded devices get cheaper, more powerful, and more connected, and as the IoT grows, Java developers will face radical new challenges—not the least of which is security. Along with this, cloud computing has taken hold, complementing the IoT and making big and fast data available and ready to be analyzed.”

Nandini Ramani, VP of Engineering, Java Client and Embedded Platforms, Oracle, pointed out that the Java platform is in the process of being unified: "First, Moore's Law is making devices more capable. Second, Java SE is being shrunk to fit into the embedded space and smaller devices. And third, Java ME is being brought up to be in parity with Java SE."

Find out about the Duke’s Choice and Java Community Process Awards, the JavaOne DEMOgrounds, the JavaOne Codegarten and much more.
Link to it here.

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

Tuesday Sep 24, 2013

Session Report: Internet of Things with Java

by Timothy Beneke

Jai Suri, Group Product Manager, Java Platform, at Oracle, with Oracle Embedded Java architect, Noel Poore, gave a session that was both practical and visionary, titled “Internet of Things with Java” that provided a glimpse of the challenges and prospects faced by the coming Internet of Things (IoT). Suri was quick to point out that the session was not a showcase of Oracle solutions for IoT; nor would it provide best practices or design patterns for IoT. “It’s too early and we’re not there yet,” said Suri.

He pointed out that the potential range of IoT applications is vast, from home and industrial automation to improved healthcare. His team has been spending a lot of time and effort trying to figure out how Java fits into the IoT space.

The IoT market is relatively new and evolving, and full of proprietary technologies with, as yet, no standardization. The biggest challenge Java faces is creating a horizontal technology stack that addresses a wide range of needs and challenges. IoT, he pointed out is nothing new – machines connecting with other machines go back to the dawn of computing. But recently, new technologies have made it more accessible than ever before. In the US, Comcast offers XFINITY home automation offering remote monitoring, temperature, lighting and small appliance control, real-time alerts when doors or windows are opened, and more. In Europe, Deutsche Telekom offers a similar system.

In health care, remote patient monitoring is an area of rapid growth. IoT is making a difference in industrial automation and business optimization and efficiency. Other segments of IoT growth include building management, energy, consumer, retail, IT and networks. Research groups are predicting a market of somewhere around $350 Billion by 2017, some of which will be committed to technology.

According to Suri, various factors are driving the growth in IoT. First, connected devices are growing rapidly, with shipments expected to range from $50B to $200B by 2020. Moore’s law is allowing devices to become smarter and, as a result, connectivity is cheaper. Extra bandwidth is available to be redeployed for data traffic and channels are being created that allow companies to move data more cheaply.

IoT traffic data is being stored in databases to be analyzed, so data is growing rapidly. Business opportunities are increasing as the number of devices connected to the cloud allowing for the tracking of shipments, cars and other things grows.

Why is this different from a simple client and server? First the number of web, desktop and mobile applications talking to a server is rapidly increasing. Devices may be on batteries, Wifi, Bluetooth or a long range network – the complexity is huge. And most of these devices do not have a human operating them.

IoT lacks any standard protocol for communication among devices. Protocols depend upon the industry. In home automation, Bluetooth is common along with short range radio networks. Ultimately it is about how users get and receive data from devices. Suri pointed out that most developers give little thought to security. When he joined Oracle he received a badge that allows him to access and send protected data; the badge provides his identity, which governs access. But how do we put an identity on a temperature sensor connected to our home gateway? Or on data about our medical condition?

Some companies are building data centers that allow companies to connect their enterprise applications to a data center so they won’t have to worry about scaling. But is this the right approach when a company has invested millions of dollars in enterprise infrastructure? Why leverage what you already have?

Suri summarized the critical issues:
--Communication across multiple-protocol networks
--End-to-end security
--Software provisioning & lifecycle management across diverse devices
--Data acquisition from thousands of diverse devices
--Managing large volumes of fast data in a scalable architecture
--Leveraging existing enterprise architectures for evolving IoT needs

With most IoT solutions currently being written from scratch, the need for a horizontal platform seems obvious.

How Java Fits In
Noel Poore then showed how Java is the best fit for IoT, emphasizing that his focus was on the IoT with Java and not the Java Internet of Things. In a situation so fragmented with different device drivers, chip sets, operating systems and so on, the availability of a platform that allows developers to move code around with little worry about which device is running it is ideal.

Managing 50 billion devices sensibly and scalably constitutes a huge challenge. Poore presented a conceptual architecture with the pieces that need to be in place for a horizontal IoT platform to work. This would enable developers to build solutions based on platform rather than rebuilding the solution every time a different IoT problem must be solved. The conceptual architecture begins with wireless and wired sensors feeding into an initial gateway which feeds into a core network; in addition smart sensors may bypass the initial gateway and go directly to the network. The network feeds into an IoT communication gateway, which in turn feeds access management, IoT management and data routing and analysis. The first of these two feed into identity access and management, while data routing and analysis is sent to enterprise business and business intelligence to attempt to gain value from the data.

Suri closed by summarizing the take-home points of the session:

* IoT technologies are a “Wild West” full of proprietary implementations and a highly fragmented vendor ecosystem.
* Java enables an open and standards-based secure IoT platform that seamlessly integrates devices with enterprise applications.
* But significant innovations are needed across the platform and the ecosystem products to make this vision a reality.
* The good news is that Java is ahead of the curve, and very well positioned to become the de facto platform for IoT applications.

Look for podcasts of JavaOne sessions at Parleys.com starting in early October.

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
21
22
23
24
25
26
27
28
29
30
   
       
Today