One current initiative within the Java Community Process highlights the conflicting demands on Java. The JSR 185, known as JTWI (Java Technology for the Wireless Industry), aims to address the real problem of fragmentation of J2ME, but may also hide a hidden agenda by Sun to wrest back full control of the platform’s evolution from Nokia and the other cellphone makers.
The JTWI aims to lay out an overall architecture for J2ME in mobile phones, which is still incompletely standardized, in itself another brake on development of smartphone applications. The specification, which is at the public review stage, identifies configurations, profiles and APIs, such as MIDP 2.0, that are essential for JTWI compliance.
This JSR is vital to reduce fragmentation of mobile phone platforms, and also to increase the level of base functionality, so reducing the need for extensions and the danger of incompatible solutions. Device specific API extensions have proliferated on mobile phones because the MIDP profile is targeted at all mobile devices and so omits many phone-specific requirements, such as address books and particular user interface behaviour. John Pampuch, a Sun senior engineer and co-lead of the JTWI project, says smartphones will be powerful enough to be able to implement the entire JTWI spec from day one.
The JTWI is important to cut down on fragmentation, but it also sees Sun reasserting authority over the J2ME specification, which it believes has been too much influenced by the handset makers. It is noticeable that Nokia, one of the most active companies in leading JSRs, has no lead role in this most pertinent of projects. Pampuch says specs have not always been rigorous enough, which enables manufacturers to fiddle with the standard elements of J2ME to get differentiation for their platforms. Nokia critics, particularly within Sun, claim that the Finnish giant has been guilty of this, confident that Sun would never go as far as to withdraw Java branding from such a major player. Instead, Sun is turning to the JTWI to tighten up the specs and force the handset makers to toe the line. The JSR should be finalized by the end of June.
The danger of the JTWI approach is that Sun is trying to create too generic a platform for the mobile phone. At least the PDA is not included, although it is likely to be in future extensions, but the JCP process is still looking at the phone as a single device. In fact, the critical APIs for a games-oriented device such as the N-Gage will be very different from those that are important to a product like the Nokia 6xxx, which is all about networking and will have less need for graphics. Some Java watchers believe the JTWI will be split into various sub-JSRs in future to ensure that these different types of handset remain function-rich within the standard, rather than forcing an lowest common denominator solution on all.