Click here to close now.


Java IoT Authors: Philippe Abdoulaye, Elizabeth White, Carmen Gonzalez, AppDynamics Blog, Flint Brenton

Related Topics: Java IoT, Mobile IoT

Java IoT: Article

Focus on Java Mobility

Addressing Java ME-specific matters

For several months now a subset of the JCP's Executive Committees has been meeting as the Java ME Working Group to address Java ME-specific matters. In this column I'll focus on Java ME and on some of the issues that the Working Group has been discussing. (To follow our activities, check out our bulletin board at

Not surprisingly, the fragmentation problem is high on our list. In the Java ME space - much more so than in Java SE or Java EE - differences between implementations make it difficult to Write Once Run Anywhere. Developing an application that will run on many different cellphones requires very careful programming and extensive testing.

There are a number of reasons for this. Firstly, the Java ME specifications are much more modular than those for Java SE and Java EE, allowing many combinations and permutations of APIs. Even where two devices implement the same APIs, the implementations may differ for a variety of reasons: because the specifications are imprecise (either deliberately or through omission), because of different capabilities between devices, or simply because of bugs in the implementations.

Umbrella specifications such as JSR 249: Mobile Service Architecture (MSA) 2 address specification problems by reducing optionality and tightening requirements, but this is not sufficient. More comrehensive testing - above and beyond that performed by the TCKs - is also required.

Recognizing this fact, a new organization was recently formed by Orange, Sony Ericsson, Sun Microsystems, and Vodafone. JATAF (Java Application Terminal Alignment Framework) seeks to gather information about differences in Java ME implementations (whether or not these differences are caused by bugs), and to develop an open-source test suite that can be used by device manufactures and others to identify and hopefully eliminate these differences.

This effort can only succeed with the active participation of all Java ME developers. If you work with Java ME, please participate. Join the JATAF project at, and report on your experiences with Java ME implementations. Implementation differences will be addressed by the development of tests and the clarification of specifications. Collectively we can all help to improve the quality of the platform.

Feature Phones and Smartphones
Another concern expressed by members of the ME Working Group was the widespread perception that Java ME is primarily a technology for low-end cellphones. While it's true that many (2 billion!) such phones are powered by Java ME, this is by no means all that the platform can do. Two JSRs that are expected to make their final releases soon intend to change this perception.

The Mobile Information Device Profile (MIDP) 3.0 specification adds new capabilities such as concurrency, inter-application communications, background processing, shared libraries, events, and improved user-interface components to enable the creation of Java applications that meet and exceed the capabilities of the most advanced smartphones..

Although JSR 249: MSA 2, addresses the fragmentation issue as discussed above, an equally important goal is to define a complete stack of APIs that will provide all of the functionality necessary to create fully-featured applications. The specification actually defines three profiles, for entry-level, mid-level, and high-end devices. Component JSRs include APIs for messaging, Bluetooth, contactless communication, user-interface development and deployment, graphics and multimedia, cryptography, and web services.

Cellphones implementing these two specifications will indeed be state of the art.

Beyond Phones
While Java's role in powering cellphones is widely recognized, we should not forget that the name Java ME stands for Java Mobile and Embedded. In addition to cellphones, Java can be found in printers and network devices, in vending machines and automobiles, and in consumer devices such as TV sets, set-top boxes, the Livescribe smartpen, and Amazon's Kindle. One of the most interesting and potentially influential uses of Java ME is in Blu-ray disc players.

Now that Blu-ray has won the standards battle with HD-DVD we can expect to see all optical-disc players migrate to the new standard within a few years. While the advatages that Blu-ray offers in storage capacity and high definition are well known, it's less widely understood that all Blu-ray disc players incorporate a fully programmable Java Virtual Machine with network connectivity. The Blue-ray disc Java (BD-J) specification is built on a combination of Java ME and Java-based TV sepecifications. BD-J provides a complete environment for the development of interactive and network-based video content. We don't yet know where this will lead, but the possibilities are endless. (Neal Young's Archives project is beginning to exploring this territory.)

Finally, a completely different application for Java ME is provided by Sentilla, who provide energy-management solutions for data centers by gathering data from tiny Java ME-based sensors that measure energy consumption and environmental factors such as temperature and humidity. This is a more focused approach than they originally adopted ("sensors everywhere") but it does suggest the way things will be done in the future. When it's possible to embed a Java VM with wireless communication capabilities in a device the size of a quarter then all sorts of possibilities open up.

For more news about Java ME and the variety of ways in which it is being used, visit the Mobile & Embedded Community at

Recent JSR Changes
JSR 316
, the Java EE 6 platform specification, is almost complete. The Proposed Final Draft specification was published in October, and the spec leads hope to go to Final Ballot before the end of the year. Releasing a platform specification always requires careful choreography of the component JSRs, since all must be brought to completion simultaneously. One component of Java EE 6 that required particular attention is JSR 330: Dependency Injection for Java, which made its Final Release in October. Since this JSR was approved only in May, it holds the record for the fastest passage through the process. Congratulations to Google and SpringSource, the Spec Leads, and thanks to the members of the Java EE 6 team and to the Expert Group of JSR 299: Web Beans for their efforts in coordinating the two JSRs.

Congratulations are also due to Star Spec Lead David Nuescheler of Day Software, whose JSR 283: Content Repository for Java Technology recently made its Final Release. This update to JSR 170 defines an abstract model and a Java API for data storage and related services commonly used by content-oriented applications such as content-management systems and other applications that manage a mixture of structured and unstructured information.

For full details of other JSR chanages please see the jcp-announcements bulletin board on the new web site, which replaces the previous JCP-interest mailing list. (Sneak preview: we'll soon be introducing RSS feeds at, so you'll be able to have the latest news delivered to your mailbox.)

Wrapping Up
By the time you read this article the annual elections for the Executive Committees will be complete. Any changes in membership will be effective on 17 November 2009, and the first meeting of the new Executive Committees will be on 8 December. Finally, within the next few weeks we plan to roll out a new version of the website. We haven't quite decided on the final feature-list, but please vist the site, and register if you haven't already done so.

Until next time...

More Stories By Patrick Curran

Patrick Curran is chair of the JCP and director of the JCP Program at Sun Microsystems, Inc.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.

@ThingsExpo Stories
The Internet of Things (IoT) is growing rapidly by extending current technologies, products and networks. By 2020, Cisco estimates there will be 50 billion connected devices. Gartner has forecast revenues of over $300 billion, just to IoT suppliers. Now is the time to figure out how you’ll make money – not just create innovative products. With hundreds of new products and companies jumping into the IoT fray every month, there’s no shortage of innovation. Despite this, McKinsey/VisionMobile data shows "less than 10 percent of IoT developers are making enough to support a reasonably sized team....
Just over a week ago I received a long and loud sustained applause for a presentation I delivered at this year’s Cloud Expo in Santa Clara. I was extremely pleased with the turnout and had some very good conversations with many of the attendees. Over the next few days I had many more meaningful conversations and was not only happy with the results but also learned a few new things. Here is everything I learned in those three days distilled into three short points.
With major technology companies and startups seriously embracing IoT strategies, now is the perfect time to attend @ThingsExpo 2016 in New York and Silicon Valley. Learn what is going on, contribute to the discussions, and ensure that your enterprise is as "IoT-Ready" as it can be! Internet of @ThingsExpo, taking place Nov 3-5, 2015, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 17th Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The Internet of Things (IoT) is the most profound cha...
DevOps is about increasing efficiency, but nothing is more inefficient than building the same application twice. However, this is a routine occurrence with enterprise applications that need both a rich desktop web interface and strong mobile support. With recent technological advances from Isomorphic Software and others, rich desktop and tuned mobile experiences can now be created with a single codebase – without compromising functionality, performance or usability. In his session at DevOps Summit, Charles Kendrick, CTO and Chief Architect at Isomorphic Software, demonstrated examples of com...
As organizations realize the scope of the Internet of Things, gaining key insights from Big Data, through the use of advanced analytics, becomes crucial. However, IoT also creates the need for petabyte scale storage of data from millions of devices. A new type of Storage is required which seamlessly integrates robust data analytics with massive scale. These storage systems will act as “smart systems” provide in-place analytics that speed discovery and enable businesses to quickly derive meaningful and actionable insights. In his session at @ThingsExpo, Paul Turner, Chief Marketing Officer at...
In his keynote at @ThingsExpo, Chris Matthieu, Director of IoT Engineering at Citrix and co-founder and CTO of Octoblu, focused on building an IoT platform and company. He provided a behind-the-scenes look at Octoblu’s platform, business, and pivots along the way (including the Citrix acquisition of Octoblu).
In his General Session at 17th Cloud Expo, Bruce Swann, Senior Product Marketing Manager for Adobe Campaign, explored the key ingredients of cross-channel marketing in a digital world. Learn how the Adobe Marketing Cloud can help marketers embrace opportunities for personalized, relevant and real-time customer engagement across offline (direct mail, point of sale, call center) and digital (email, website, SMS, mobile apps, social networks, connected objects).
We all know that data growth is exploding and storage budgets are shrinking. Instead of showing you charts on about how much data there is, in his General Session at 17th Cloud Expo, Scott Cleland, Senior Director of Product Marketing at HGST, showed how to capture all of your data in one place. After you have your data under control, you can then analyze it in one place, saving time and resources.
The Internet of Everything is re-shaping technology trends–moving away from “request/response” architecture to an “always-on” Streaming Web where data is in constant motion and secure, reliable communication is an absolute necessity. As more and more THINGS go online, the challenges that developers will need to address will only increase exponentially. In his session at @ThingsExpo, Todd Greene, Founder & CEO of PubNub, exploreed the current state of IoT connectivity and review key trends and technology requirements that will drive the Internet of Things from hype to reality.
Two weeks ago (November 3-5), I attended the Cloud Expo Silicon Valley as a speaker, where I presented on the security and privacy due diligence requirements for cloud solutions. Cloud security is a topical issue for every CIO, CISO, and technology buyer. Decision-makers are always looking for insights on how to mitigate the security risks of implementing and using cloud solutions. Based on the presentation topics covered at the conference, as well as the general discussions heard between sessions, I wanted to share some of my observations on emerging trends. As cyber security serves as a fou...
With all the incredible momentum behind the Internet of Things (IoT) industry, it is easy to forget that not a single CEO wakes up and wonders if “my IoT is broken.” What they wonder is if they are making the right decisions to do all they can to increase revenue, decrease costs, and improve customer experience – effectively the same challenges they have always had in growing their business. The exciting thing about the IoT industry is now these decisions can be better, faster, and smarter. Now all corporate assets – people, objects, and spaces – can share information about themselves and thei...
Continuous processes around the development and deployment of applications are both impacted by -- and a benefit to -- the Internet of Things trend. To help better understand the relationship between DevOps and a plethora of new end-devices and data please welcome Gary Gruver, consultant, author and a former IT executive who has led many large-scale IT transformation projects, and John Jeremiah, Technology Evangelist at Hewlett Packard Enterprise (HPE), on Twitter at @j_jeremiah. The discussion is moderated by me, Dana Gardner, Principal Analyst at Interarbor Solutions.
Too often with compelling new technologies market participants become overly enamored with that attractiveness of the technology and neglect underlying business drivers. This tendency, what some call the “newest shiny object syndrome” is understandable given that virtually all of us are heavily engaged in technology. But it is also mistaken. Without concrete business cases driving its deployment, IoT, like many other technologies before it, will fade into obscurity.
Discussions of cloud computing have evolved in recent years from a focus on specific types of cloud, to a world of hybrid cloud, and to a world dominated by the APIs that make today's multi-cloud environments and hybrid clouds possible. In this Power Panel at 17th Cloud Expo, moderated by Conference Chair Roger Strukhoff, panelists addressed the importance of customers being able to use the specific technologies they need, through environments and ecosystems that expose their APIs to make true change and transformation possible.
The Internet of Things is clearly many things: data collection and analytics, wearables, Smart Grids and Smart Cities, the Industrial Internet, and more. Cool platforms like Arduino, Raspberry Pi, Intel's Galileo and Edison, and a diverse world of sensors are making the IoT a great toy box for developers in all these areas. In this Power Panel at @ThingsExpo, moderated by Conference Chair Roger Strukhoff, panelists discussed what things are the most important, which will have the most profound effect on the world, and what should we expect to see over the next couple of years.
The cloud. Like a comic book superhero, there seems to be no problem it can’t fix or cost it can’t slash. Yet making the transition is not always easy and production environments are still largely on premise. Taking some practical and sensible steps to reduce risk can also help provide a basis for a successful cloud transition. A plethora of surveys from the likes of IDG and Gartner show that more than 70 percent of enterprises have deployed at least one or more cloud application or workload. Yet a closer inspection at the data reveals less than half of these cloud projects involve production...
Microservices are a very exciting architectural approach that many organizations are looking to as a way to accelerate innovation. Microservices promise to allow teams to move away from monolithic "ball of mud" systems, but the reality is that, in the vast majority of organizations, different projects and technologies will continue to be developed at different speeds. How to handle the dependencies between these disparate systems with different iteration cycles? Consider the "canoncial problem" in this scenario: microservice A (releases daily) depends on a couple of additions to backend B (re...
Container technology is shaping the future of DevOps and it’s also changing the way organizations think about application development. With the rise of mobile applications in the enterprise, businesses are abandoning year-long development cycles and embracing technologies that enable rapid development and continuous deployment of apps. In his session at DevOps Summit, Kurt Collins, Developer Evangelist at, examined how Docker has evolved into a highly effective tool for application delivery by allowing increasingly popular Mobile Backend-as-a-Service (mBaaS) platforms to quickly crea...
Growth hacking is common for startups to make unheard-of progress in building their business. Career Hacks can help Geek Girls and those who support them (yes, that's you too, Dad!) to excel in this typically male-dominated world. Get ready to learn the facts: Is there a bias against women in the tech / developer communities? Why are women 50% of the workforce, but hold only 24% of the STEM or IT positions? Some beginnings of what to do about it! In her Day 2 Keynote at 17th Cloud Expo, Sandy Carter, IBM General Manager Cloud Ecosystem and Developers, and a Social Business Evangelist, wil...
PubNub has announced the release of BLOCKS, a set of customizable microservices that give developers a simple way to add code and deploy features for realtime apps.PubNub BLOCKS executes business logic directly on the data streaming through PubNub’s network without splitting it off to an intermediary server controlled by the customer. This revolutionary approach streamlines app development, reduces endpoint-to-endpoint latency, and allows apps to better leverage the enormous scalability of PubNub’s Data Stream Network.