New LWUIT, JDTF, JSR 290, and Java Card Screencasts
Terrence Barr announced the availability of four brand-new screencasts on current subjects in this week's java.net Spotlight. The screencasts, which are about five minutes long, provide introductions to LWUIT (Lightweight User Interface Toolkit), JDTF (Java Device Test Framework), JSR 290 (Java Language & XML User Interface Markup Integration), and Java Card.
The LWUIT screencast, titled Do It With LWUIT (LWUIT rhymes with "do it"), provides an introduction to the toolkit that's suitable for developers who may have heard of LWUIT but don't know much in detail about it. For example, LWUIT is an open source project that is hosted on java.net. It's licensed under GPL v2 with the classpath exception. It's built on MIDP 2.0 on top of
Canvas. LWUIT is in part a response to the iPhone. LWUIT offers developers the capability to develop rich mobile user interfaces on a broad spectrum of devices. If you know Swing, getting going with LWUIT development is straightforward. Touchscreen support is included. The screencast closes with comparisons between LWUIT and JavaFX.
The Java Device Test Framework screencast introduces JDTF, which is a test harness that provides testing capability on JavaME devices. The screencast provides instruction on how to install, set up, and use JDTF. JDTF is also an open source project hosted on java.net. JDTF includes a NetBeans plugin that provides for convenient JDTF test development within the NetBeans environment.
The JSR 290 screencast, which runs just under 4 minutes, talks about the new XML UI capabilities provided by the specification. For example, JSR 290 provides support for, at minimum:
- XHTML Basic 1.1
- ECMAScript CP
- CSS MP 2.0
- SVG Tiny 1.2
The screencast describes how the API interacts with XHTML, DOM elements, etc., to render fluid graphics on a mobile device screen. See the JCP's JSR 290 page for details on the specification.
The Java Card Platform screencast introduces Java Card, which represents more than 90% of all mobile phone SIMs in the US and EMEA. This screencast has much more of a marketing feel to it than the others, but it still includes useful information if you'd like to learn some basics about the Java Card platform. Visit the Java Card home page for additional details.
Oracle pushes JDeveloper and Sun NetBeans. Because Oracle is about to buy Sun, only one of the IDEs will be officially supported in long term. From strategic point of view, NetBeans would be the better choice:
- Footprint: Netbeans 6.7.1 download (with Java EE support and 2 Glassfish versions) is 158 MB big. JDeveloper comes with about 1 GB. The initial footprint is really important for adoption.
- Adoption: Netbeans became very popular. In this poll, from 2,753 voters, 1,191 voted for NetBeans, 1,340 for Eclipse, but only 39 for JDeveloper (plain text editor got 103 votes :-))...
peligripoints us to Alexis Moussine-Pouchkine's post Let GlassFish update itself (v3 preview refresh). Alexis tells us:
If you were a little scared to switch your preferred repository from "stable" to "dev" as explained in my previous entry, you now have the ability to simply update your GlassFish v3 Preview installed image as we've just pushed out an update to the GlassFish stable repositories (both for the Java EE SDK and for GlassFish). See Abhijit's announcement
. We carried out more tests than for typical promoted releases posted on the "dev" repository to allow people to upgrade their 3-month old GlassFish v3 release...
Kohsuke Kawaguchi hopes to See you at JavaZone:
I'll be leaving the bay area on Monday to give a talk about Hudson in JavaZone 2009. The talk will include both the general introduction of Hudson, as well as some of the advanced topics. Europe has a lot of Hudson adoptions (possibly better than in the U.S.), so I'm hoping to meet with many of Hudson users and developers there...
A quick and short tip for Mercurial, just an excuse for testing Scribefire with the new Java.Net platform.
You have previously seen my posts praising the possibility of working in asynchronous fashion with Mercurial. In short, you can commit while disconnected, and push a batch of commits when you're connected again.
Ed Burns provides instruction on Dealing Gracefully with ViewExpiredException in JSF2:
My previous entry dove under the covers for JSF 2.0 and examined href="http://weblogs.java.net/blog/edburns/archive/2009/09/02/jsf2-composite-component-metadata">composite component metadata. This one is far less esoteric and shows how to
ViewExpiredExceptionusing a new JSF feature, the
ExceptionHandler, contributed by Pete Muir a JSF Expert Group representative from JBoss....
And Jim Driscoll writes about Bridging to Open Ajax:
The Open Ajax Alliance is a standards organization with the mission of ensuring interoperability within Web based Ajaxified applications. One of their standards relates to intercomponent communication - the ability to subscribe and publish messages which can then be picked up by code written by other authors...
In the Forums,
thorsten_s posted Blackberry implementation: "To whom it may concern, I have been working on a Blackberry implementation that could be used as an alternative to the default MIDP GameCanvas implementation. I know that the default implementation does work fine on a Blackberry...."
kaplanjresponded Re: Web Admin security: "Do you get that exception after you change the rest of the server to use authentication? If you enable security, you will need to set a username and password for the SAS provider. You do this in the same way as you do for the Darkstar server (using..."
robovanbasten asks about an LWUIT List memory leak?: "Hi All, Has anyone else noticed a memory leak when using the LWUIT List (release 20081222)? Using the WTK or S40_5th_Edition emulator I've noticed the memory is being eaten away when my app is idle and showing a List. Any help would be much..."
Our current Spotlight is Terrence Barr's annoucement of 4 New Screencasts: LWUIT, JDTF, JSR 290, and JavaCard: "Our documentation team has put together four brand-new screencasts on current subjects. They are 5 minutes each in length and a great way to get introduced quickly to the highlights of each topic. I encourage you to have a look..."
Our Feature Articles include Jeff Friesen's article Introducing Custom Paints to JavaFX, which shows how you can leverage undocumented JavaFX capabilities to support custom paints in JavaFX Version 1.2. We're also featuring Biswajit Sarkar's Using the Payment API for Microcredit and Other Applications, which describes how to apply the Payment API (JSR 229) in JavaME applications.
The latest Java Mobility Podcast is Java Mobility Podcast 86: Mobile Service Architecture 2: Introducing New Features in Mobile Devices: "Kay Glahn from Vodafone Group R&D and Erkki Rysa from Nokia share the new features in MSA2 in this abbreviated feature from JavaOne."
Current and upcoming Java Events:
- September 9-11: Java Power Tools - Canberra
- September 11-13: 2009 New England Software Symposium: Fall Edition
- September 14-16: The Ajax Experience
- September 16-19: 2009 JVM Language Summit, Santa Clara, CA
- September 18-20: 2009 Pacific Northwest Software Symposium
- October 5-9: Java Power Tools - Brisbane
- October 19-23: Java Power Tools - Sydney
- October 23: Strange Loop Conference - St. Louis
- October 24: Florida Linux Show 2009 Orlando
- December 11-12: 4th IndicThreads.com Conference On Java Technology, Pune, India
Archives and Subscriptions: This blog is delivered weekdays as the Java Today RSS feed. Also, once this page is no longer featured as the front page of java.net it will be archived along with other past issues in the java.net Archive.