Yesterday, the new all-in-one Java
ME SDK 3.0 was released, which folds in all you need for developing
Java apps for phones, settop boxes or Blu-Ray discs into one
regular readers will already know.
Other than tidying
up the hitherto multiplying SDKs (and including LWUIT !), there's a nice
consequence for JavaFX
developers too: you can use it to see where the hot
spots are in your mobile app are.
Michael writes, just turn on the profiler in the JavaFX Mobile emulator before
you run your app, and use the Java ME SDK
to analyse the output. If you've used the profiler in NetBeans or VisualVM in the JDK you're
sure to recognise it.
One of the attractive things about using JavaFX for mobile apps
is that the JavaFX layer papers over some of the cracks of what in
mobile Java circles has come to be known as device fragmentation.
Fragmentation not in the sense of phones are falling apart, but in the
differences in the capabilities of the Java ME devices (e.g. screen
size, is there a GPS chip ?) that can give developers a somewhat bumpy
ride when writing Java ME apps for multiple devices. (There
are even tools specially for this).
But with JavaFX, sticking to APIs the Common Profile,
you'll always know
where you are.