Your browser is not supported. Please update it.

29 October 2007

Sun plans to phase out J2ME, to strengthen its hand as cellphones grow up

Since Sun’s former head of software, Jonathan Schwartz, took over the CEO position, it has been noticeable that key software technologies, notably Java, have belatedly been given star billing in a company that clung to its box-making roots for far too long, at the expense of fully exploiting the vast commercial potential of one of its star assets, Java. In the enterprise, the Java bandwagon was firmly directed by IBM and others, but Schwartz has regained some of the momentum, making key decisions in important areas like open sourcing, after years of hesitation. The area where Java could still make Sun into a market leader is mobility, and the company, with moves like the recent launch of Java FX Mobile and the acquisition of SavaJe, has demonstrated its determination to put its technology at the heart of one of the most important developments in the wireless world, the mobile internet user interface and applications environment. Nearly all the mobile heavyweights, apart from Microsoft, use Java heavily in their platforms, but Sun has failed to create much impact under its own brand, ceding the dominant influence in standards processes to Nokia and others. Now it aims to change that, and is rumored to be working with Samsung on a handset software platform based on FX Mobile. This would be a direct alternative to other systems that use Java, such as Nokia’s Series 60 or Motorola/Sony Ericsson’s UIQ, as well as to non-Java contenders like Qualcomm Brew, Apple iPhone and Microsoft Windows Mobile (see Wireless Watch October 22 2007). Just as Sun seems to be getting really serious about the mobile sector, however, it is planning a major shakeup of the Java product line, which will lead to the elimination of the mobile-specific Java implementation J2ME.

There are good reasons for this step, even though it flies in the face of the contention by Nokia and other mobile specialists that the peculiarities of the handset still require software architectures that are specifically optimized for mobility and the small screen ‘ the counter-argument, from the internet community, is that cellphones are now powerful enough to run almost as full computers, and so the Apple iPhone, for instance, looks architecturally more like a miniature Mac than a large phone. Of course, this debate will lie at the heart of the battle for control of the next generation device ‘ will it be a cutdown PC, in essence, like the Intel UMPC architecture, or still a product specifically tailored for mobile networks, like a Nokia N Series? By converging on standard Java, Sun is throwing its weight behind the former argument, and perhaps burning some bridges with phonemaker customers who have been among its greatest Java allies. (Of course Nokia spans both camps, with its web services and its internet tablets representing its bid to lead in the UMPC market.)

From Sun’s point of view, a unified Java across all clients would increase the benefits Java already promises in terms of cross-platform harmony ‘ a large developer community, economies of scale for Java supporters, the ability to write once and run on a wide variety of devices. This will be important to operators too, as many look to provide internet services, such as music stores, that will work seamlessly across all a subscriber’s platforms, including home PCs and media centers and a variety of handhelds. Again, this shows Sun reflecting how the open model of PC software is starting to filter into the mobile world, where traditionally each application has had to be rewritten not only for PCs and handsets, but for each handset model and each operator. With open access and the breakdown of the tethering of the device to the network and contract, the carriers are reluctantly having to adopt a new model, and unifying PC and mobile systems will be a key aspect of that ‘ and one that plays to Java’s strengths, provided Java is as harmonized as it always claims to be.

In reality, mobile Java has become highly fragmented because it has so many higher level extensions (called JSRs or Java specification requests) layered on top of its basic platform. This allowed the core abilities to be kept compact, but reduced the potential to write once, run anywhere, since each cellphone was exploiting a different combination of JSRs. J2SE has a far richer set of basic abilities and so requires fewer extensions, aiding portability. This will enable Java to line up better against other software technologies that are seeking to steal its thunder in what Gosling sees as its key benefit – creating rich web applications. Ajax, Adobe Apollo, Microsoft Silverlight and Google Gears are all trying to muscle in on this territory on PCs and, increasingly, in the mobile world too. Gosling claims Java FX can beat these once it can be used across all devices seamlessly and draw on the power of J2SE ‘ in particular, he boasts of a richer user interface, faster performance, a robust and well trusted language and better abilities when a computer is offline. He also believes Sun has addressed security issues more effectively than the internet players.

As well as being more open, mobile internet devices are also becoming very powerful, and so there are no longer the technical barriers to using fully blown Java on a handset. So a single Java would enable Sun partners to harness ‘grown-up’ Java for more powerful applications and functionality on smartphones, again a potential source of competitive advantage for phonemakers and operators (for less powerful phones, a subset of the full Java could be used). This approach was pioneered by SavaJe, which created a mobile operating system and software stack based on a cutdown version of standard edition Java rather than J2ME ‘ and Sun’s latest plan helps to explain and justify its acquisition of that start-up, which many commentators had written off as a failed system floundering alongside giants like Symbian OS. SavaJe also fits well with Sun’s FX Mobile range, launched in May, which is based on a scripting language designed for creating rich content and applications to run across mobile and embedded Java devices. FX Mobile is, despite its name, based around Java SE (Standard Edition), including nearly all of that software apart from a few heavy duty pieces such as the Corba application interworking system.

James Gosling, Sun VP and ‘father of Java’, announced the plan to phase out J2ME last week. “We’re trying to converge everything to the Java SE specification. Cellphones and TV set-top boxes are growing up,” he said, though he added a cautionary note, that ‘the convergence is going to take years’.