Sun Microsystems has open sourced its Java toolkit for building mobile applications just as the role Java plays on handsets comes into question.
The company has released the Light-Weight UI Toolkit (LWUIT) (https://lwuit.dev.java.net/) under a GPLv2 license with a classpath exception – for binary linking with an application – as an incubator project (https://lwuit-incubator.dev.java.net/) to Java.net. Fixes to LWUIT from Sun will be posted to the repository.
Announced (http://weblogs.java.net/blog/terrencebarr/archive/2008/04/coming_soon_swi.html) in April and based on Java Mobile Edition, LWUIT includes a range of graphical components, themes, fonts, animation and transition effects, touch-screen support, and Scalable Vector Graphic image support using Java Specification Request (JSR) 226.
Java’s place in the sun looks to be challenged by Linux and open source. Both the Linux Mobile Foundation (http://www.limofoundation.org/) and Google with Android (http://code.google.com/android/) have turned to Linux as an answer to their prayers on software portability across handsets and freedom from the roadmap and marketing dictates of a single vendor. LiMo has promised more than half (http://www.theregister.co.uk/2008/08/08/limo_opensource_patents/) of its smart-phone platform will be open source by release four.
The Symbian Foundation, meanwhile, has promised to open source its platform’s code for broader adoption (http://www.theregister.co.uk/2008/07/22/symbian_independence/).
And in its march towards iPhone market share, Apple has rejected (http://www.theregister.co.uk/2008/03/10/iphone_jvm_pipe_dream/) Java so it can retain control of the handset’s architecture and future roadmap.
When Sun first began talking up LWUIT in April, it wasn’t clear how the Java stack would be released or licensed. GPLv2, though, seems an attempt to get it out there as broadly as possible and running on LiMo and Android devices. The iPhone is another matter.
Sun LWUIT developer Shai Almog appealed to developers (http://lwuit.blogspot.com/2008/08/evangelizing-lwuit.html) to help evangelize LWUIT. “The best product in the world is worthless without its users, they make or break the product,” he blogged. “One of the ways in which you can help us is by advocating and informing other developers about LWUIT, this is something we can’t do on our own.”®