Skip to main content

Hope You're Feeling Better

Posted by editor on March 16, 2006 at 7:01 AM PST

The downside of editing while traveling

Your editor is travelling with the family this week. I figured the kids would get sick at the end of the week, but Keagan has surprised us by picking up bonchitis on the first day of the trip instead. Nice timing.

Speaking of timing, if you've ever done computer animation, you're surely aware of how central the issue of timing is to animation. Animating at 30 frames a second literally means doing some kind of drawing to the screen at 1/30 second intervals. A lot of developers end up writing this timing code themselves, and some ways of doing so are better than others -- it's good to use the system clock to figure out when you're due to paint, it's not so good to try to time things with Thread.sleep() calls.

Or... you could let the Timing Framework take care of things for you.

In today's Feature Article, Chet Haase introduces some new Timing Framework features in
Time Again.

At the end of "Timing is Everything," I called out several future tasks that I wanted to accomplish to increase the power and flexibility of Timing Framework. I've finally worked through a couple of these, plus some more along the way, so it was time to update the project and to describe how things work in the new system.

In the article, Chet shows how the framework can be used to provided property changes driven by timed callbacks, how to interpolate between keyframes, and how to perform non-linear animation, so that things start up and slow down in a more natural manner.

In Projects and

Romain Guy writes "SwingX is a great project but it's also pretty fat and many people would like to use only one component. (Or maybe just a few.) It's definitely possible to extract them from the project but it's a pain." His forum post SwingX Components Harvester introduces and links to a project to do this extraction for you. Romain's Harvester works on Java SE 5 and up.

The Mustang Regression Challenge seeks regressions in Java SE 6, offers a t-shirt to every submitted and verified regression, with five winning an Ultra 20 workstation. David Herron's blog entry Mustang Regression Challenge - winding down offfers points out that the deadline is March 31, and that 44 entries have already been made.

In today's Forums,
ss141213 announces an important GlassFish change:
version attribute is now required in every persistence.xml & mappings.xml.
"Because of a recent change in the Java Persistence API spec, persistence_1_0.xsd has been updated. Now, every persistence.xml file must have a version attribute in the root element. Earlier version attribute was optional. So you may have to change your persistence.xml if it does not already have version attribute."

joshy offers a look at his
Gradient Chooser and a Multiple Thumb Slider:
"Hello all. I have code for a gradient chooser, multiple stop gradients, and a multiple thumb slider (which is used by the gradient chooser). Do you think this is something we should but into SwingLabs and where? You can see a screenshot of the chooser here."

Ed Burns looks at Using JSP Immediate Expressions to access JSF Data in today's Weblogs: "Here is an ultra-quick blog entry sharing something in JSF 1.2 about which I'm not sure many people are aware. Thanks to the unified EL, it is possible to refer to JSF managed beans and other JSF concepts using plain old JSP expressions in the page."

Kohsuke Kawaguchi announces a
Simpler and better binding mode for JAXB 2.0:
"I recently added a new binding mode in JAXB RI 2.0, which makes it even easier to use."

Echoing the Java Compatibility Call to Arms, Fernando Lozano writes:
"Sun itself is asking developers to test their apps with third-party JREs to ensure the Java platform remains compatible. But missing from this claim was the need to test them also with the many cleam room, open source software JREs out there, and the need to throw out references to non-standard, vendor-provided JRE classes from application code."

In Also in
Java Today

IT executives are increasingly interested in using web services for mission-critical integration among multiple endpoints, says a survey of 170 IT execs. The article Web Services OK for MC Integrations takes a look at why CIOs and architects are finding web services approaches more appealing -- even for complicated and mission-critical Enterprise Information Integration (EII) projects.

Sure, you can throw XML data into a database as a run of bytes, but in so doing, you lose the inherent structure of the data. A database built to work with XML can offer opportunities to the savvy developer. Deepak Vohra's Storing an XML Document in Apache Xindice introduces Apache Xindice, an open source database optimized for working with XML.

In today's
News Headlines

Registered users can submit news items for the href=""> News Page using our
news submission
. All submissions go through an editorial review before being
posted to the site. You can also subscribe to the href=""> News RSS

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.

The downside of editing while traveling