Skip to main content

It's about Time

Posted by daniel on February 16, 2005 at 6:05 AM PST

Should widgets or adapters be in the box?

Chet Haase has written a href=""> Featured
that presents convenience classes for working with
dynamic events. In href="">
Timing is Everything he writes "Any time you introduce dynamic
effects, animations, or time-based events to a Java application, you
find yourself re-implementing the same functionality you have written
for every application that required timing or animation. The built-in
APIs are powerful, but they require that you write a fair amount of
boilerplate code."

In his article he addresses the specific issue and provides you
with code in his project href=""> Timing Framework . But
the issue he raises is not unique to timing. Think of how many tasks
that you repeat. Much of your day is spent doing things you have done
before and you can generalize Chet's introduction as follows:

Any time you [ common programming task here ] you find
yourself re-implementing the same functionality you have written for
every application that required [ same task here ]

There have been discussions in the forums over whether these
belong in the core APIs. The example that seems to keep coming up is a
date picker. Instead of putting these in the core APIs, shouldn't
these be independent projects that are not subject to the time
schedules of the JCP and standard J2SE releases? But, others argue,
then don't we end up with this wasted effort of many people repeating
the same task? Others have answered that you can and should open
source these succesful widgets or otherwise make them available.

Many of these exist on Sourceforge,, or other
repositories - should we have a "commons" area that helps catalog the
cream of the available widgets or frameworks? I'm thinking out loud
because we keep seeing the same set of questions in the
forums. Thoughts?

Meanwhile there is more news from the world of convergence. In
today's Weblogs , John
Reynolds blogs href="">
News from a Parallel Universe: JSF and Tapestry project leads agree on
future course. Aspects, persistence, and now presentation. John
writes " At the upcoming TheServerSide Java Symposium in a parallel
universe, the doppelgangers of Howard Lewis Ship and Craig
R. McClanahan will agree to base JSF 2 on Tapestry "

Daniel Brookshier reports from afar on href="">
Sun Education and Research Conference. He writes "The href="">Sun Education
and Research Conference is getting started in San Francisco this
week. Most of us are not at this conference, so we need to rally
ourselves within the virtual space of the to promote global
education and life long learning."

Eitan Suez blogs that he's about to go href="">
On the Road Again. He's preparing to present at this year's No
Fluff weekend conferences. These are high quality gatherings and I'm
sorry not to be on the program this year. I may have to travel to
catch Eitan on the road this year.

In Also
in Java Today
, Denis Pilupchuk, author of O'Reilly's "Java
vs. .NET Security" eDocument, has turned his attention to WS-Security
and it really works in the enterprise: "ever since the inception of
the commercial Internet, there have been attempts (some more
successful than others) to form generic B2B automated processing
chains. In such a setting, each participating web service will in turn
be acting as a server and then as a client, when it issues a request
to the next element of the chain." And from a security standpoint,
when each link in the chain may introduce new incompatibilities in
handling credentials, building a working and secure chain gets very
difficult. href="">WS-Security
in the Enterprise, Part 1: Problem Introduction lays out the
problem and identifies the steps needed to resolve it.

In his piece href="">
Static Versus Dynamic Attitude , Bill Venners wonders " to what
extent the mindset encouraged by a language and its surrounding
culture influences people's perceived productivity when they use that
language." He thinks back to some design decisions he has made and
notes "The culture that guided the design of a language influences my
attitudes and mindset when I use the language. The Java culture
encourages me to build solid bricks that can be combined to build
large, dependable systems. The Python culture encourages me to glide
smoothly and quickly to a solution."

In Projects and
, check out the new front page for the href="">Java Games community. They
are looking for submissions for tips and tricks or for recognizing
developers or games.

The Java User Group
community lists upcoming meetings of the href=""> Triangle JUG
in RTP and the JUG.RU in
St. Petersburg. You can href="">add your JUG meeting
to the list.

Sometimes 'final' is not enough. JSBean asks about adding href="">
'fixed' to 'final' in today's href="">Forums . "What I
want seems to be very similar to 'const' in C++. [..] 'fixed' would
mean: 'will not be changed by this reference or future references to
this reference'. I think 'fixed' and 'Immutable' are two useful
features that would complement each other. If the language supports
both 'fixed' keyword and 'Immutable' interface, an immutable object
would be fixed by default and a fixed reference would be final by

Bino George is back with a post that "Support for href="">
FireFox is planned for Mustang. Meanwhile you can enable and disable
java in FireFox using the FireFox Options dialog under the 'Web
Features' tab."

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 feed.

Current and upcoming href=""> Java Events :

  • February 14-17, 2005 href="">
    LinuxWorld Boston 2005
  • February 28- March 3, 2005 href="">EclipseCon
  • March 3-6, 2005 href="">TheServerSide
    Java Symposium
  • March 14-17, 2005 href="">O'Reilly Emerging
    Technology Conference

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 site.

Archives and Subscriptions: This blog is delivered
weekdays as the href="">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="">

Should widgets or adapters be in the box?