In the mobile world, the focus will be on Nokia and, to some extent, Apple, and to have Motorola on its side would be a major bonus for Sun. Of course, JavaFX Script can also be seen as an attempt to limit the progress of the Ajax programming environment, which is based on JavaScript and XML, can run outside the browser, and enables web applications to be more interactive, and which is spreading to the mobile platform too (see Wireless Watch April 17 2006 for full analysis).
While Sun can argue against Nokia – a major mobile Ajax supporter – that it is offering a multi-platform stack, rather than a mobile-only product, that also means it has to look to a wider range of challengers, including the other main players targeting the Rich Internet Application (RIA) market from PC and set-top to cellphone. Two of these, Microsoft and Adobe, both announced their latest RIA development technologies in the past two weeks, and are increasingly focusing on extending platforms with a PC heritage to the mobile.
Microsoft’s web development platform, Silverlight, now in beta, was formerly known as Windows Presentation Foundation/Everywhere, though ‘everywhere’ is currently an exaggeration, with developers in the mobile world calling for Linux and the Opera browser to be supported. The former is likely only through open source projects such as Gnome, although compatibility with Opera is expected in the final release, to support Opera devices such as many handsets and the Nintendo Wii games console. Firefox and Safari are already offered.
Silverlight is a cross-browser technology for interactive web applications, designed to deliver media experiences based on the company’s .Net technology, and so going up against Adobe’s near-ubiquitous Flash. Despite current omissions, it will be an important element in Microsoft’s Web 2.0 efforts, mobile and fixed. It already has a wide range of development and media authoring tools targeting Silverlight available in final or beta form, and has a significant headstart here over Sun’s content authoring tools, for which there is no announced launch date. However, Microsoft has been far less clear about its plans for mobile Silverlight than Sun has been about mobile deployments based on JavaFX.
On the same day that Silverlight was introduced to the world, Adobe showed off Apollo, a complement to its Flash technology for RIA and Web 2.0 systems, and also promised mobile support. Apollo provides a development kit and runtime application to help developers build software that works across operating systems. Once the Apollo apps are created, users can launch them from the desktop without using their browser or connecting online.
Mobility at JavaOne:
At JavaOne, Nokia showed off a new edition of its Series 40 platform for developers. Series 40 5th Edition incorporates Java ME and is designed to allow developers to deliver streaming video, image rendering and mobile 3D graphics on mass market phones.
‘This new platform for high volume Nokia devices will leverage the latest Java-based functionality to provide a richer and more productive mobile experience to consumers and business users around the world,’ said Lee Epting, vice president of Forum Nokia.
Meanwhile, ARM announced at the conference that it was upgrading its mobile Java software stack, turning what a simple toolkit into a turnkey Java virtual machine for handsets and consumer electronics.
ARM claimed it shipped 260m copies of its ARM Java software targeted at mobile phones and now is going up against multitasking JVMs from handset makers like Sony Ericsson and Nokia, which simultaneously handle tasks such as VoIP, 3D games, music download and playback, email and instant messaging. ARM’s stack will be optimized for its hardware and the code requires less than 200Kb of ROM, 25% than many of its rivals, and a RAM heap of less than 3Mb (compared to, for instance, 5Mb for Vodafone).
The ARM software includes a runtime optimizer that aims to generate the highest performing Java code for a Jazelle accelerator. It also lets users customize the stack to meet their needs. The first licensees for the new JVM are Oxford Semi, which makes devices for network attached storage systems, and Access of Japan, which is developing a Linux platform using the former PalmOS user interface, and which produces software for iMode handsets.
JavaFX:
JavaFX itself is a simple scripting language which can run on mobile phones, or on Blu-ray Disk players or in a browser and should be seen as the first of a series of content authoring products that Sun is lining up. It also said that ‘JavaFX Script is capable of supporting GUIs of any size or complexity and makes it easier to use Swing, one of the best GUI development toolkits of its kind.’ It uses a declarative syntax for specifying GUI components, so a developer’s code closely matches the actual layout of the GUI. JavaFX Script will work with all major integrated development environments, including NetBeans, which is the reference implementation IDE for Java development.
Real time Java:
Sun also unveiled a new, faster version of its real time Java software. The Sun Java Real Time Systems 2.0 promises latencies of just a few hundred microseconds. It includes the first real time garbage collection module from Sun – Java’s need periodically to clean up code in memory via so-called garbage collection has long been a barrier to true real time performance, keeping latencies typically above a millisecond.
The new release includes a new Java virtual machine that eliminates other delays in existing JVMs. It also includes a new compiler and other real time tools. Sun will sell the software as an addition to its existing Hot Spot versions of near-real time Java.
Sun is making its real time version of Java available for Intel processors as well as its own Sparc CPUs.