Dr. Dobb's is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them. Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

Channels ▼

Eric Bruno

Dr. Dobb's Bloggers

Java and the Internet of Things

June 26, 2013

Technology continues to get smaller and faster, and we increasingly find new ways to integrate it into our lives. We've reached a point where intelligent devices and sensor networks can be put in place transparently to collect data without people even knowing it. As a result, a host of new benefits can be offered to consumers in terms of improved efficiency, convenience, and value. This level of integration and ubiquity of computing devices is called the Internet of Things (IoT). The flip side is an increased risk of loss in terms of privacy and security.

More Insights

White Papers

More >>


More >>


More >>

Benefits and Risks

To illustrate the benefits and risks related to the IoT, let's examine a realistic yet hypothetical example. Imagine a potential telematics/user location tracking system that helps you when you embark on a long-distance road trip. The promise of the IoT in this space is about predictive analytics. A truly connected auto navigation system will be able to analyze your planned route combined with real-time data on your car's fuel usage, road, and traffic conditions, and your driving behavior to predict fuel requirements more accurately. With this integration, the navigation system can prompt you to real-time fuel needs, and when integrated with live gas prices from local stations, direct you to the station with the best value. Knowing that you're accompanied by your family, this value may go beyond just price-per-gallon, and may include other add-on services.

The value to you is convenience and savings: no longer needing to guess when it's the best time to fill up. The value to gas retailers is a competitive advantage as their low prices are "advertised" in better context. The auto manufacturer that offers this level of integration in their cars will gain a competitive advantage over others that offer simple navigation without the integration and analytics. The risks are your driving habits can be used in unanticipated ways; i.e., to drive insurance rates, or unsolicited in-car advertising for restaurants along the way, and so on.

Security, Privacy, and Ethics

The IoT introduces new security issues that today's enterprise security measures may not help with. I believe there are three basic forms of benefits and related security risks associated with the IoT:

  1. Quality of life versus individual privacy and anonymity
  2. Added value and convenience from common tasks versus unanticipated side effects
  3. New economic models versus personal security risks

Additionally, direct security risks exist such as:

  • The ability to tap a sensor network to steal data
  • Intercepting data in transit from remote locations (up bound and down bound)
  • Standards create new risks ask they replace proprietary technology

Privacy concerns are paramount in M2M and IoT, probably more so than security. For instance, location data, device data such as address book contacts, voice-to-text services (i.e., Siri and Google Now), text and call activity logs, building and home security data, telematics data, and other identifying data can be used and combined to create a frighteningly detailed picture of a person's daily routines. In turn, costs and availability of services can be adjusted or even denied based on this data.

Potentially the largest risk to consumers in the IoT is ethics. Even after security and privacy measures as built-in, there's a level of trust that users give outside entities. How this data is used may be secure, legal, and otherwise reasonable, but potentially unethical. For instance, Target was recently in the news regarding their advertising strategies. By analyzing the shopping habits of their customers combined with their online behavior (via purchased third-party data, social media, and so on), Target sends customized coupons and print ads to customers, predicting their buying needs with uncanny accuracy. In one recent example, based on the online behavior of a teenage girl, Target's analytics systems predicted she was pregnant before her own father knew.

How Do We Resolve This?

Vendors currently focused on the IoT and its value are also focusing on privacy issues. It will be interesting to see how this area of the industry is potentially regulated, or at least watched, as technology grows more prevalent in our lives. We've already seen the fallout that can occur when applications, such as Path, gather address book or other data without a user's permission. Google and Apple have had their fair share of trouble in this area as well.

Java as a platform is a good starting point for the IoT in terms of its ubiquity (it runs on servers, desktops, laptops, and embedded devices of varying sizes), as well as its built-in security and encryption technology. Given that it makes it easier to do embedded development (you don't need to worry about porting your otherwise native code across platforms), Java allows you to focus on key application features. Two of these ought to be increased security and data privacy, especially as technology becomes more connected in our homes, cars, and ultimately, our lives.

Happy coding!

Related Reading

Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.