Skip to main content

One Week

Posted by editor on June 16, 2008 at 6:39 AM PDT

A hasty book update

Two weeks ago, Joshua Marinacci and I got a notification from O'Reilly that they need to do a reprint of Swing Hacks, and they gave us a week to clear up all the unconfirmed errata. The timing could have been better, as I had a conference to go to last week, but we got all but one of the problems resolved; the comment on page 68 about providing proper shift- and ctrl-click selections in the checkbox JList needed more work than I could commit to in that timeframe, so it's going to get left broken. Sorry.

Still, we did get a lot done for a quick one-week review.

Actually, I think you could say Josh and I have different attitudes towards the reprint. I see the book as a product of its time, early 2005, and believe the point of a reprint is just to have more physical copies available. O'Reilly didn't ask us to do a second edition, and if we were doing that, we'd want to take a fresh look at where Swing is in 2008, taking out anything redundant or dated and bringing in new material appropriate to contemporary Swing. But that's not what a reprint is, and there are limits to what you can (or even should) do in a reprint, since the publisher's resources are limited. If you want something more recent, Filthy Rich Clients, released last year, is a good example of a Swing book that incorporates more modern thinking on Swing, particularly considering how much the authors did themselves to advance Swing in that time.

And of course, with JavaFX coming down the pike, everything's in play on the desktop anyways.

In Java Today,

The Aquarium reports on the recent release of an OpenDS 1.0 Release Candidate. "The Release Candidate for
OpenDS 1.0 is now available.
The RC follows the earlier
M1 Milestone
(Feb 29th)
; Ludo describes it as
"complete, stable and suitable for testing by any user".
Check the
Build Details
and please provide feedback through
Project Issues
or the
Mailing List.
The first release is intended for Early July;
for tentative dates for other releases check the
Project Roadmap.
Additional details in
Ludo's Announcement."

The final version of JSR 286, the Portlet Specification 2.0, has been released and is available for download. Major changes in Portlet 2.0 include an event API, portlet filters, public render parameters, JSR 188 support, enhancements to caching support and the portlet tag library, WSRP 2.0 features, and more.

The Mobile & Embedded Community is taking a look a the new version of Perst Lite, an open source, object-oriented embedded database for Java ME (J2ME), which has been upgraded to version 3.0. "Memory and storage footprint are major concerns for developers in Java ME. Perst Lite adds powerful on-the-fly compression in version 3.0 that reduces stored data’s size by three to five times, on average. Coupled with the database system’s already-small footprint, this compression adds another compelling reason for developers to choose Perst Lite for data management on smartphones, PDAs and other small-profile devices."

In today's Weblogs, Kohsuke Kawaguchi offers
More Active Directory integration in Java.
"Ever had to configure Active Directory authentication through LDAP authenticator in Java web app, with a dozen configuration options? If so, you are in hell, and you need a better solution. Here's how it's supposed to be done --- by just one configuration."

Chris Bryant toys with seeming redundancy in
Real-time Linux in real time.
"WebSphere Real Time (WRT) runs on top of a real-time Linux system in IBM and Java Technology Centers labs."

Finally, Evan Summers continues his big-think reconsideration of Java in
First Class Java: further thoughts on dot notation for class metadata.
"In a previous posting i suggested the likes of "" to refer to a PropertyDescriptor eg. for binding GUI components to bean models. Now after some further doodling in my favourite coffee shop, i'm thinking or $ don't look too bad, although many others would rather suggest person#username."

In today's Forums,
deronj discusses a promising Project Looking Glass feature in
Re: Swing in HUD.
"I am working on a feature for Release 0.5 which will allow Swing lightweight components (e.g. JPanels) to be rendered into a texture and have the texture mapped onto a 3D rectangular object (a 3D window). The Swing team has written a special library called "Embedded Swing" which I have used in a prototype. Someone could use my work and take the swing-rendered textures and map them onto HUD objects. This is not work I have on my list for Release 0.5 but it would make a great project for someone in the community."

The ambitious szmarine wonders about
How to make a BD-J player/simulator?
"This forum seems focused more on the authoring side of BD-J. So I'm not sure whether this is a good question here. My question: What work need to be done to construct a software BD-J player or simulator? I'm not intend to write a BD-J player or simulator, but I think knowledge of the player/simulator side should be helpful to understand the whole thing. Looks like a huge question, so pieces of ideas are also appreciated, thanks."

Finally, nsimpson says key Wonderland features seem to be working correctly in
Re: Wonderland state retention across server restart.
"I just ran a test with database persistence enabled and didn't encounter any persistent state problems with the VNC application or the whiteboard. To be honest, I was surprised because this is (cough) the first time I've tested this feature and I fully expected to run into problems. I drew on the whiteboard and connected to a different VNC server, shut down the client and server and restarted and the state of both applications was exactly as I'd left them."

Current and upcoming Java

Registered users can submit event listings for the href=""> Events Page using our href="">events submission form.
All submissions go through an editorial review before being posted to the

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 it will be
archived along with other past issues in the href=""> Archive.

A hasty book update