Java IoT Authors: Stackify Blog, Xenia von Wedel, Elizabeth White, Liz McMillan, APM Blog

Related Topics: Java IoT, Mobile IoT, Wearables

Java IoT: Article

JSR Watch: Java Mobile and Embedded Spotlight

The majority of the JSRs that have been active in the past few weeks are in the mobile space

Java ME: Not Just for Cellphones
Most people probably think of Java ME in the context of cellphones, and with over 2 billion Java-enabled phones deployed that's hardly surprising. Many are probably also aware that Java ME runs in TV set-top boxes and Blu-ray disk players. (The recent announcement by Warner Bros. that it will release its high-definition movies exclusively in Blu-ray format seems to have guaranteed the victory of Blu-ray over the competing non-Java based HD-DVD format.) However, we should not forget that the "E" in Java ME stands for Embedded, and Java can also be found in a bewildering array of devices from printers and switches to medical equipment, cars, gas station pumps, and industrial robots. But this is just the beginning.

The Developer Days conference included several talks about the Sun SPOT (Small Programmable Object Technology) devices from Sun Labs. These are tiny wireless sensor boards that can be used to develop wireless sensor and actuator applications. They're programmed in Java since they include the Squawk Virtual Machine, which runs on the "bare metal" - there's no operating system. Although still experimental, they're already being deployed in applications as diverse as water-quality monitoring in Malawi and a geographic information system and wireless sensor network in the Panama rainforest.

As the SunSpot team explains:

One day everything of value will be part of the Internet...not just computers that talk to each other and exchange data, but virtually everything - all connected, all-communicating and sharing data, all the time. Cars, bicycles, refrigerators, astronauts, toys, even trees will collect and deliver diverse data to equally diverse devices (yes, trees - embedded with sensors that detect climate changes and animal movements).

You can read more about Sun SPOTs at www.sunspotworld.com/.

The Fragmentation Problem
Whenever a group of Java ME developers gets together there's bound to be a lively discussion about "fragmentation," and the Developer Days conference was no exception. The term "fragmentation" refers to the fact that despite Java's promise of Write Once Run Anywhere, it is often difficult to develop applications that will run on a wide variety of cellphones without very careful programming and extensive testing.

Fragmentation is actually an "umbrella term" that covers at least three distinct situations:

  1. Platform fragmentation, where different APIs are present on different devices
  2. Implementation fragmentation, where implementations of the same APIs differ between devices
  3. Device-level fragmentation, where the characteristics of the devices themselves vary
The first two cases have direct relevance for the JCP. (The third is simply a consequence of the level of maturity of the small-device market and the rapid pace of change.)

Some platform fragmentation is inevitable given the enormous diversity of devices in the market and the different versions of specifications implemented on them. However, the nature and quality of the specifications is also a significant factor. The Java ME platform is not monolithic. Rather there are a large number of specifications that can be mixed and matched in a wide variety of configurations, and there are many optional or "conditionally mandatory" components such as Bluetooth or location services. Consequently it's not possible to predict which APIs will actually be present on any particular device.

This problem is not unique to Java ME - it exists in many other areas of the standards world - and the solution is well understood: an "umbrella specification" needs to be created that will define a minimum set of component APIs that must be included in compatible implementations and that will also eliminate optionality from the component specifications. In the Java ME space two such umbrella specifications have been developed: JSR 185: Java Technology for the Wireless Industry (JTWI), which was released in 2003, and the more recent JSR 248: Mobile Service Architecture specification, which was released at the end of 2006. The MSA specification (http://developers.sun.com/mobility/midp/articles/msaintro/) defines both a full stack consisting of 16 component JSRs and a subset stack consisting of eight JSRs. The first MSA-compliant phones are just beginning to reach the market.

Implementation fragmentation is a different problem, and it has two distinct causes. The first is again specification-derived. Many Java ME specs either deliberately or inadvertently contain ambiguities and omissions that lead to differences in implementations. This problem too is addressed by the MSA umbrella specification, which clarifies and tightens up the language, eliminates ambiguities, and adds requirements to the component specifications. The second cause of implementation fragmentation is bugs in the implementations, and this can only be addressed by more extensive testing. The test coverage provided by the relevant Technology Compatibility Kits (TCKs) needs to be increased, and since the TCKs by their nature do not cover all areas that could be tested (only what is specified), additional testing needs to be performed, ideally through a formal industry-wide certification program. The Java Verified Program (www.javaverified.com/about_uti.jsp) and the associated Unified Testing Initiative have begun to address this problem but much more remains to be done.

Java ME JSRs
A total of 77 Java ME JSRs have made some progress through the JCP since its inception and 42 have been completed. Twenty Java ME JSRs were active in 2007 (getting started, publishing drafts, going to ballot, or making final or maintenance releases).

A quick review of the active JSRs gives a clear picture of the breadth of technologies covered in the ME space: speech APIs (JSR 113), data synchronization (JSR 230), user interface customization (JSR 258), broadcast services (JSR 272), vector graphics (JSR 287), automotive telematics (JSR 298), event tracking (JSR 190), digital TV (JSR 242), and XML (JSR 280).

As I mentioned earlier, a number of additional Java ME JSRs made progress during the past month. The most significant is JSR 271: Mobile Information Device Profile (MIDP) 3 (http://jcp.org/en/jsr/detail?id=271), led by Motorola, which entered its Public Review period in December. This is a major revision of the "base" Java ME platform for cellphones. (MIDP is typically implemented on top of CLDC, which provides the low-level virtual machine, Java language, and utility and IO classes.) MIDP defines the higher-level APIs that make Java-enabled cellphones possible: networking, security, user interface, graphics, sound, and provisioning. The review period runs through March, so there's still time for you to comment on this important JSR. Other Java ME JSRs that made progress last month include:

  • JSR 307: Network Mobility and Mobile Data API (led by Motorola), which is in Early Draft Review
  • JSR 279: Service Connection API (led by Nokia & Sun) and JSR 293: Location API 2.0 (led by Nokia), which are in Public Review
  • JSR 232: Mobile Operational Management (led by Motorola), which made a Maintenance Release
We should also not forget that those billions of cellphones would be nothing more than paperweights without the sophisticated back-end infrastructure that handles the switching, billing, subscriber management, service provision, and so on. Of course, these services are also run on Java. Last month there were three additional Java EE JSRs that made progress in this area. Two were from the indefatigable and prolific OSS/J Initiative (www.tmforum.org/OSSJ): JSR 254: OSS Discovery API (led by Nakina Systems) entered its Final Approval Ballot and JSR 210: OSS Service Quality Management API (led by Vallent Corporation) issued a Proposed Final Draft. The third, JSR 289: SIP Servlet v1.1 (led by BEA) passed its Public Review Ballot. This is an update to JSR 116, which defined a container-based approach to developing communication applications utilizing the Session Initiation Protocol (SIP) (defined by RFC 3621 [http://tools.ietf.org/html/rfc3261]). SIP is used to establish and manage IP-based sessions for applications such as Internet telephone calls and multimedia distribution and conferencing.

As you can see, Java ME is alive and well. For more details about the JSRs mentioned in this column and about the other activities of the JCP, please visit our Website (http://jcp.org/en/home/index).

Until next month...

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
"There's plenty of bandwidth out there but it's never in the right place. So what Cedexis does is uses data to work out the best pathways to get data from the origin to the person who wants to get it," explained Simon Jones, Evangelist and Head of Marketing at Cedexis, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
WebRTC is great technology to build your own communication tools. It will be even more exciting experience it with advanced devices, such as a 360 Camera, 360 microphone, and a depth sensor camera. In his session at @ThingsExpo, Masashi Ganeko, a manager at INFOCOM Corporation, introduced two experimental projects from his team and what they learned from them. "Shotoku Tamago" uses the robot audition software HARK to track speakers in 360 video of a remote party. "Virtual Teleport" uses a multip...
"Akvelon is a software development company and we also provide consultancy services to folks who are looking to scale or accelerate their engineering roadmaps," explained Jeremiah Mothersell, Marketing Manager at Akvelon, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
"IBM is really all in on blockchain. We take a look at sort of the history of blockchain ledger technologies. It started out with bitcoin, Ethereum, and IBM evaluated these particular blockchain technologies and found they were anonymous and permissionless and that many companies were looking for permissioned blockchain," stated René Bostic, Technical VP of the IBM Cloud Unit in North America, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Conventi...
Gemini is Yahoo’s native and search advertising platform. To ensure the quality of a complex distributed system that spans multiple products and components and across various desktop websites and mobile app and web experiences – both Yahoo owned and operated and third-party syndication (supply), with complex interaction with more than a billion users and numerous advertisers globally (demand) – it becomes imperative to automate a set of end-to-end tests 24x7 to detect bugs and regression. In th...
SYS-CON Events announced today that Telecom Reseller has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5-7, 2018, at the Javits Center in New York, NY. Telecom Reseller reports on Unified Communications, UCaaS, BPaaS for enterprise and SMBs. They report extensively on both customer premises based solutions such as IP-PBX as well as cloud based and hosted platforms.
SYS-CON Events announced today that CrowdReviews.com has been named “Media Sponsor” of SYS-CON's 22nd International Cloud Expo, which will take place on June 5–7, 2018, at the Javits Center in New York City, NY. CrowdReviews.com is a transparent online platform for determining which products and services are the best based on the opinion of the crowd. The crowd consists of Internet users that have experienced products and services first-hand and have an interest in letting other potential buye...
"MobiDev is a software development company and we do complex, custom software development for everybody from entrepreneurs to large enterprises," explained Alan Winters, U.S. Head of Business Development at MobiDev, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
Coca-Cola’s Google powered digital signage system lays the groundwork for a more valuable connection between Coke and its customers. Digital signs pair software with high-resolution displays so that a message can be changed instantly based on what the operator wants to communicate or sell. In their Day 3 Keynote at 21st Cloud Expo, Greg Chambers, Global Group Director, Digital Innovation, Coca-Cola, and Vidya Nagarajan, a Senior Product Manager at Google, discussed how from store operations and ...
In his session at 21st Cloud Expo, Carl J. Levine, Senior Technical Evangelist for NS1, will objectively discuss how DNS is used to solve Digital Transformation challenges in large SaaS applications, CDNs, AdTech platforms, and other demanding use cases. Carl J. Levine is the Senior Technical Evangelist for NS1. A veteran of the Internet Infrastructure space, he has over a decade of experience with startups, networking protocols and Internet infrastructure, combined with the unique ability to it...
"Space Monkey by Vivent Smart Home is a product that is a distributed cloud-based edge storage network. Vivent Smart Home, our parent company, is a smart home provider that places a lot of hard drives across homes in North America," explained JT Olds, Director of Engineering, and Brandon Crowfeather, Product Manager, at Vivint Smart Home, in this SYS-CON.tv interview at @ThingsExpo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA.
"Cloud Academy is an enterprise training platform for the cloud, specifically public clouds. We offer guided learning experiences on AWS, Azure, Google Cloud and all the surrounding methodologies and technologies that you need to know and your teams need to know in order to leverage the full benefits of the cloud," explained Alex Brower, VP of Marketing at Cloud Academy, in this SYS-CON.tv interview at 21st Cloud Expo, held Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clar...
It is of utmost importance for the future success of WebRTC to ensure that interoperability is operational between web browsers and any WebRTC-compliant client. To be guaranteed as operational and effective, interoperability must be tested extensively by establishing WebRTC data and media connections between different web browsers running on different devices and operating systems. In his session at WebRTC Summit at @ThingsExpo, Dr. Alex Gouaillard, CEO and Founder of CoSMo Software, presented ...
A strange thing is happening along the way to the Internet of Things, namely far too many devices to work with and manage. It has become clear that we'll need much higher efficiency user experiences that can allow us to more easily and scalably work with the thousands of devices that will soon be in each of our lives. Enter the conversational interface revolution, combining bots we can literally talk with, gesture to, and even direct with our thoughts, with embedded artificial intelligence, whic...
SYS-CON Events announced today that Evatronix will exhibit at SYS-CON's 21st International Cloud Expo®, which will take place on Oct 31 – Nov 2, 2017, at the Santa Clara Convention Center in Santa Clara, CA. Evatronix SA offers comprehensive solutions in the design and implementation of electronic systems, in CAD / CAM deployment, and also is a designer and manufacturer of advanced 3D scanners for professional applications.
Leading companies, from the Global Fortune 500 to the smallest companies, are adopting hybrid cloud as the path to business advantage. Hybrid cloud depends on cloud services and on-premises infrastructure working in unison. Successful implementations require new levels of data mobility, enabled by an automated and seamless flow across on-premises and cloud resources. In his general session at 21st Cloud Expo, Greg Tevis, an IBM Storage Software Technical Strategist and Customer Solution Architec...
To get the most out of their data, successful companies are not focusing on queries and data lakes, they are actively integrating analytics into their operations with a data-first application development approach. Real-time adjustments to improve revenues, reduce costs, or mitigate risk rely on applications that minimize latency on a variety of data sources. In his session at @BigDataExpo, Jack Norris, Senior Vice President, Data and Applications at MapR Technologies, reviewed best practices to ...
An increasing number of companies are creating products that combine data with analytical capabilities. Running interactive queries on Big Data requires complex architectures to store and query data effectively, typically involving data streams, an choosing efficient file format/database and multiple independent systems that are tied together through custom-engineered pipelines. In his session at @BigDataExpo at @ThingsExpo, Tomer Levi, a senior software engineer at Intel’s Advanced Analytics gr...
When talking IoT we often focus on the devices, the sensors, the hardware itself. The new smart appliances, the new smart or self-driving cars (which are amalgamations of many ‘things’). When we are looking at the world of IoT, we should take a step back, look at the big picture. What value are these devices providing? IoT is not about the devices, it’s about the data consumed and generated. The devices are tools, mechanisms, conduits. In his session at Internet of Things at Cloud Expo | DXWor...
Everything run by electricity will eventually be connected to the Internet. Get ahead of the Internet of Things revolution. In his session at @ThingsExpo, Akvelon expert and IoT industry leader Sergey Grebnov provided an educational dive into the world of managing your home, workplace and all the devices they contain with the power of machine-based AI and intelligent Bot services for a completely streamlined experience.