Your browser is not supported. Please update it.

26 March 2015

IoT gives Java a second chance at the glory it missed in mobile

For a brief heady moment, Java seemed destined to be the standard language for mobile devices, offering a small footprint and multi-platform approach that was missing from established PC environments. But then smartphones and app stores changed the rules, Google adopted its own Java fork for Android, and the older language was left languishing in low value featurephone applications. Now, its supporters have high hopes that Java may have a second coming in the internet of things (IoT), and can revive its old claim to be the antidote to the chaos of competing platforms.

Mobile Java was partly a victim of fragmentation and the failure by its creator, Sun, to drive a unified framework. The now-owner of Sun and Java, Oracle, looks better suited to be that leading force, though there are other heavyweight Java machines too, notably the IBM-driven Eclipse Foundation, as well as various other open source initiatives and start-ups. All of these are keen to fill the gaps in the the embedded Java platform in order to take the leading role in the IoT that was let slip in mobile.

Of course, Android, Windows Embedded and numerous other alternatives will be fighting for position too but Java does have the advantage of a major existing presence in embedded M2M markets, and a huge developer base. This could enable it, like the C language, to counteract the effects of power struggles between individual vendors or would-be standards. Jeffrey Hammond of Forrester Research believes reference implementations in Java and C could help address the “existing mess” of communications protocols in the IoT, many of them based around vertical-specific M2M definitions.

This is the aim of the Kona Project, which aims to define and implement Java APIs (application programming interfaces) which could work across various protocols and bring some unity to the IoT for developers. The APIs, initially for Java Standard Edition and later for Java Micro Edition, would be optimized for embedded devices. The project’s first protocol will be CoAP, with MQTT and others likely to follow. CoAP will be contributed by ARM, which has been working intensively with the Java community as it builds up its IoT platform, mBed OS. It will support connectors like UDP and TCP, and technologies like Bluetooth could be added later.

However, while open projects like Kona show the way forward, they often take place outside the official Java Community Process, which controls standard Java specs, and they can create fragmentation within the Java platform even while they seek to paper over cracks in the IoT communications framework. The lack of firm control over the process, and Java’s semi-standard status, created major fragmentation problems in the mobile world long before Google wreaked havoc with its Dalvik implementation, and Oracle or Eclipse need to drive a more united effort this time.

Controlling a layer to bring together many diverse elements of the IoT would give Oracle a new power base and an important entry point to this ecosystem, which in turn could be valuable for its core business in creating big data platforms, to handle the vast stores of information emanating from all those ‘things’. This would seem to be the major incentive for the database firm to take this leadership role and exploit the technology it acquired along with Sun. However, some of the community is angry that Oracle is reportedly trying to squeeze more direct revenues out of Java, potentially damaging its appeal and its potential as a broad open source platform like Android.  Azul Systems, provider of the Zulu Embedded alternative Java environment, told The Register that Oracle has been using strict Java distribution policies, and an aggressive end-of-life schedule for Java SE, to insist on new and more costly Java licensing contracts. While this opens up an opportunity for other implementations like Zulu, based on the same OpenJDK code as Oracle’s, it is another potential source of conflict and disunity in the Java IoT effort.

Its pricing policies may be controversial, but Oracle’s ambition for Java is clear. A year ago, when it rolled out the latest release of Java Micro Edition Embedded, it positioned it clearly as a platform to unify diverse real time OSs and protocols and it has been putting more effort into embedded Java than it has at any time since the Sun acquisition. It has unveiled a Java-based service delivery platform and is running Java on microcontrollers from Freescale, Qualcomm, STMicro and Imagination/MIPS. It has also been steadily adding to functionality, migrating some features planned for Java Standard Edition 8 into microcontroller-based Java ME Embedded. The alignment between the high end and embedded flavors “will help create a more unified Java Embedded developer platform and ecosystem to better address the complexity of the internet of things”, says the firm, in line with the thinking that IoT applications need to be low in power and footprint, but not in functionality (the same thinking that is driving 32-bit microcontrollers – see separate item).

Java has a strong opportunity in the IoT because it is already almost ubiquitous as a runtime environment for embedded apps, and so is well placed to be the language that can target every type of device. It began life as a language for embedded computing, targeting early set-top box interfaces, and its designer James Gosling envisaged it supporting device-to-device communications from the start. It lost its way in the embedded world when alternatives like C, Assembler and Python became more adept at using systems with constrained memory or CPU, but the average size of the embedded environment has grown significantly even as Java has become more resource efficient.

Another area in which it has made recent progress is real time computation and reliability. The Real Time Specification for Java (RTSJ) was actually approved back in 2002 but fell into disuse, but in February this year it was reinstated by the Java Community Process, having been updated and implemented in various virtual machines such as JamaicaVM. In addition, Oracle has promoted Java SE for real time systems  – though only for ‘soft’ real time applications which are measured by average response time. For ‘hard’ real time, which requires a guaranteed response time, there is JSR-302 (safety critical Java), a subset of the Real Time Specification created by the Open Group industry consortium. This has been in the works for years but is expected to be approved this spring, with a reference implementation by May.

And then there is Eclipse. The open source foundation, and its instigator IBM, have done more to give Java the enterprise position it enjoys than Sun ever did, and will look to do the same in the embedded world. Here, IBM has the same motivations as Oracle to harness a huge new source of business for its cloud and analytics technologies, and it has already shown itself keen to control underlying IoT frameworks too, as with its MQTT protocol and its active role in bodies like the Industrial Internet Consortium.

Eclipse IoT is a subset of the Foundation and has 15 open source projects that implement IoT technologies like MQTT, Lightweight M2M and CoAP. In September, this group delivered its Open IoT Stack for Java, helping Java developers to connect and manage embedded devices with reusable frameworks and services.

“We are announcing that the Eclipse Foundation is working toward creating a Java platform for IoT specifically targeted at connecting and managing devices,” said Mike Milinkovich, executive director of Eclipse. “Our goal with this is to ensure that Java developers have a free and open source platform for building IoT solutions.” With nine million Java developers, he believes the language is in pole position to address a little-discussed challenge for the IoT – shortage of programmers. “When you hear about the IoT opportunity, the focus is always on the number of billions of devices and the number of trillions of dollars … but one of the things that barely gets mentioned is that in the next 6-7 years, something in the order of four million developers need to be recruited and enabled to start working with IoT software,” he said in an interview.

This is the kind of attitude and language which could put Java in particular, and open source efforts in general, at the heart of the IoT, rather than semi-open solutions controlled by a single vendor, like Android and, indeed, Oracle’s own Java implementations. The owner of Java needs to stop thinking in the old-fashioned terms of licensing revenues and embrace the bigger opportunity of dominating the IoT programming base.

 

Comment:

 

5G will fail like 3G, if operators continue to defend the old licensing regimes

One of the thorniest topics in the whole debate about how ‘5G’ will evolve is spectrum licensing. Given that the next generation of mobile networks will have to support a huge increase in data volumes, in variety of applications and content, and in types of devices, it is reasonable to suppose they will need to tap into as many sources of spectrum as possible. R&D activities are centering on many bands from millimeter wave, to support ultra-dense capacity and high speeds, to sub-500MHz, especially for machine-to-machine purposes. It is accepted that several air interfaces, new or established, are likely to play a role to support the very different types of requirements of, for instance, 4K video and beyond versus connected heart monitors.

Amid this move towards a mash-up of frequency bands and radio technologies, it seems almost unbelievable that some cellular players should still be clinging to a spectrum licensing regime which is already creaking under the weight of the first, simple steps towards a HetNet – the coexistence of WiFi and LTE, and of licensed and unlicensed spectrum. Developments like LTE in the 5GHz band; the sharing of 3.5GHz or white spaces airwaves between different types of users; and early moves towards dynamic spectrum allocation, all indicate that the old divide between long term, exclusive licences and a complete licence-exempt free-for-all is redundant and 5G will have to rely on some new combination of shared access, dynamic allocation, light or short term licensing and on-demand aggregation.

Yet mobile operators continue to defend the barriers to entry which their expensive, long term licences erect against new competitors. Sticking his head firmly in the sand, Alain Maloberti, SVP of Orange Labs Network, told this week’s NGMN Industry Conference that exclusive licensing regimes will still be ideal for 5G. It is important, he argued, that 5G is integrated under the IMT umbrella, including high frequency spectrum above 6GHz.

He accepted that other ways of assigning spectrum, including refarming and trading, will be introduced into the mix, he spoke for many cellcos in arguing that the licensed approach is the only way to guarantee quality of service, and that only the IMT framework can create harmonization in a world where there will be so many bands in use.

All this will make this year’s ITU World Radio Conference critical in setting out the landscape for 5G, even if specific 5G allocations will mainly be discussed at the next event, WRC-19. Another Orange executive, deputy director of spectrum strategy Stefan Apetrei, told the conference: “The race for new spectrum will start in 2015 at the WRC”, where allocations up to 6GHz will be examined, and the agenda for 2019 will be outlined.

The same defence of the old, rigid structures – and of cellco entrenched power – is seen in debates with more near term implications, such as the US arguments over a fair shared access scheme for the 3.5GHz band. There, if the FCC has its way, an important precedent could be set with an (admittedly over-complicated) three-tier approach involving protected access for incumbents, some relatively long term, paid-for licences, and some open, opportunistic access. The MNOs’ attempts to swing the balance towards rigid licensing is to be expected when considering near term LTE options – especially when the US carriers have so recently spent over $16bn on traditional licences in the AWS-3 band and are likely to splash out again in the 600MHz incentive auction next year.

But for 5G, it is not just the Googles of the world which would benefit from a new approach and a flexible framework. The mobile operators themselves must see the pressure to spend huge sums on spectrum – at a time when ARPUs are being squeezed and WiFi-driven competition on the rise – as unsupportable in the very near future. The disconnect between the cost of licences and the ability to drive up mobile revenue and profit was augured in the European 3G experience – inflated spectrum sums followed by inflated writedowns as 3G failed to deliver the expected pots of gold – and it is seen all over the 4G world too, particularly in India’s recent auctions, where spectrum prices have been out of all relation to the revenue potential in the world’s lowest-ARPU country (see separate item).

Speaking at the NGMN conference, this point was made by Joachim Horn, CTIO of Tele2, whose said that 4G so far has often been about solving the shortcomings of 3G. “When we were discussing 4G, we were driven by the fact that 3G was not a success,” and that operators had spent too much on licences, he said. He insisted that LTE will be more successful and therefore 5G will have a different starting point, but that is far from proven yet. Indeed, LTE has done little, for many carriers to reverse the downward slide of revenues and margins, at least in conventional customer bases – which will enforce an expansion into new services and markets, requiring different and more flexible spectrum approaches.

Eventually, perhaps, the MNOs will understand that striking out for a clean licensing slate in 5G could help them harness their advantages more profitably, using some of the new technologies which may emerge from the wealth of R&D already underway with an eye on next generation mobile platforms.

The alliances and research hubs continue to roll out, and the NGMN event was the stage for several new ones to be unveiled, including two new academic partnerships for Ericsson, and an innovation lab from Deutsche Telekom. The German telco said its 5G:haus lab would operate in various locations across Europe with the goals of contributing to 5G technology and standards and attracting a broad range of partners, including research companies, start-ups and vendors. The first announced participants are Ericsson, Nokia, Samsung, ZTE, Qualcomm, Huawei, the SoftRAN Initiative of Stanford University, German AI research centre DFKI, and the University of Kaiserslautern.

Bruno Jacobfeuerborn, CTO of DT and chairman of the NGMN Alliance Board, said: “The 5G:haus will allow us, in cooperation with leading partners, to develop the architecture, to foster innovation and to steer standardization work. The lab will also provide a platform to engage with our customers at a very early stage of 5G development. We will be able to assess candidate technologies and will make consistent contributions to the process of developing a global 5G standard.”

Ericsson has also announced initiatives with King’s College London, part of London University, and the Technische Universität Dresden (TU Dresden), to “accelerate the momentum around smart sustainable cities, the internet of things and evolved industries powered by 5G in the UK and Germany,” as the Swedish firm’s head of region western and central Europe, Valter D’Avino,  put it. The deals join other Ericsson 5G-focused partnerships with operators such as SingTel and Telstra, and with vendors like IBM. The company is also part of many industry and government initiatives, such as the European Union’s 5G-PPP, and leads the EU’s METIS project around wireless communications for 2020.

At King’s College, Ericsson will set up a 5G Tactile Internet Laboratory to showcase developed prototypes in this area and provide testbed capabilities for radio technology in software, with specific relation to smart and sustainable cities. Professor Mischa Dohler, head of the college’s center for telecoms research, said that the tactile internet will be enabled by 5G, but this was not all about telecoms, but also about computer science breakthroughs “such as innovative artificial intelligence and edge-cloud technologies,  and robotics, such as novel edge-haptics”. He added: “Currently we can see and hear through the internet, but we cannot touch. We have a vision to create the Tactile Internet, where we would be able to touch through the medium of the internet.”

Another testbed in Germany will be created by InterDigital, working with the XHAUL initiative in Berlin. This work is focusing on next generation network efficiency, targeting a 30% reduction in costs with improved latency and energy usage.