Skip to main content

Trampolines

Posted by daniel on February 1, 2005 at 5:21 AM PST

Bouncing events

In the href="http://today.java.net/pub/a/today/2005/01/31/controlGUI.html">Featured
article
called href="http://today.java.net/pub/a/today/2005/01/31/controlGUI.html">
Asserting Control over the GUI: Commands, Defaults, and Resource
Bundles, Hans Muller has shown "that a simple combination of the
current J2SE classes are sufficient to bind Swing GUI components to
actions in a declarative form that's easily localized."

Muller takes another look at the Swing event model and
"demonstrates how one can separate an Action's
visual properties into a ResourceBundle that's loaded through Swing's
UIDefaults API. In addition to enabling localization, this approach
shifts some of the GUI from code to a declarative
representation. That's an advantage for large applications, because
the declarative aspect of the application can be developed
independently from the code."


Note: (1) The projects side of java.net will be down for 15 minutes today around 10 am PST. (2) The projects side of
java.net will be down for up to 18 hours on February 2, 2005 for a
tools update.


In Also
in Java Today
, in the JavaWorld article href="http://www.javaworld.com/javaworld/jw-01-2005/jw-0131-soa.html">
Event-driven services in SOA , Jeff Hanson describes "designing an
effective event-driven and service-oriented platform using Mule, a
lightweight event-messaging framework designed around an enterprise
service bus (ESB) pattern. Components and applications can use Mule to
communicate through a common messaging framework implemented
transparently using Java Message Service (JMS) or another messaging
technology."

Sometimes your javadocs are revealing a bit too much about your
application. As John Zukowski writes about this in a recent Core Java
Tech tip href="http://java.sun.com/developer/JDCTechTips/2004/tt1214.html#2">
Hiding ListResourceBundles from javadoc. He explains, "The classes
for the list resource bundles must be defined in public classes. The
problem is that when you run the javadoc tool on your source tree, the
API documentation for the resource bundle class will appear with the
other classes if located within the same package. This level of
implementation detail should be hidden. That's because if you later
change to a PropertyResourceBundle, the public class will be gone,
changing the public API for your product." This tip explains how to
hide these details from javadocs.


Eduardo has posted a link to a href="http://weblogs.java.net/blog/pelegri/archive/2005/01/preview_of_next_1.html">
Preview of next Draft of JAX-RPC/JAXB 2.0 in today's href="http://weblogs.java.net"> Weblogs . Echoing a forum
post he writes " Arun has posted a Technology Preview for the next
draft of JAX-RPC 2.0 and JAXB 2.0 to encourage the developer community
to provide feedback on these two very important specifications."

Ryan O'Connell blogs on href="http://weblogs.java.net/blog/ryano/archive/2005/01/implementing_th_1.html">
Implementing the State Design Pattern using Enums. " The Enum
construct is a new feature added to J2SE 5.0. The Enum construct
allows developers to create type safe enumerations. The enum feature
also seems like an ideal way to implement the State design pattern."

James Gosling reports in from his travels to Australia in href="http://today.java.net/jag/page13.html#108"> Wandering
OZ. "I'm in Australia this week giving some talks and visiting
folks. Yesterday I was in Newcastle speaking at the href="http://www.cs.newcastle.edu.au/~acsw05/speak.html">Australian
Computer Society, which was a wonderful experience. A great group
of people."


In Projects and
Communities
, the href="http://community.java.net/edu-gelc/">GELC's Daniel
Brookshier href="http://weblogs.java.net/blog/turbogeek/archive/2005/01/new_projects_in_6.html">welcomes
new projects including JeLSIM, a toolkit for producing educational
simulations, and Recuitment, a set of tools for recruiting.

The href="http://community.java.net/javadesktop/">JavaDesktop
community is featuring Ken Russell's JCanyon demo, which has been
revised to work with JOGL. JCanyon is a simple, web-started flight
simulator -- implemented completely in Java.


There is a new discussion on the

Technology Preview of JAX-RPC 2.0 and JAXB 2.0 EAs
launched in today's href="http://forums.java.net/jive/index.jspa">
Forums. "Arun has posted a Technology Preview for the EA of JAX-RPC 2.0 and JAXB 2.0 (http://jwsdp.dev.java.net/servlets/NewsItemView?newsItemID=1849).

The TP includes a rewrite of the WS-I Sample Supply Chain Management
Application using the latest (Early Access) version of the JAXB 2.0
and JAX-RPC 2.0 specs."

Walter Bruce continues the discussion of

Lightweight Objects, Tuples
, "I think you are missing the point of
extended primitives. They are not objects and have somewhat different
semantics (eg pass-by-reference vs pass-by-value). What they gain is
efficiency, not base functionality."


In today's java.net
News Headlines
:

Registered users can submit news items for the href="http://today.java.net/today/news/">java.net News Page using
our news submission
form
. All submissions go through an editorial review before being
posted to the site. You can also subscribe to the href="http://today.java.net/pub/q/news_rss?x-ver=1.0">java.net News
RSS feed.


Current and upcoming href="http://www.java.net/events"> Java Events :

Registered users can submit event listings for the href="http://www.java.net/events">java.net Events Page using our href="http://today.java.net/cs/user/create/e"> 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="http://today.java.net/pub/q/java_today_rss?x-ver=1.0">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 href="http://today.java.net/today/archive/">java.net
Archive.

Bouncing events