Skip to main content

New Year's Resolution

Posted by daniel on January 3, 2005 at 10:37 AM PST

Unleash Java's secret weapon

Every once in a while you need to reassess a decision. The
conditions under which you came to an earlier conclusion may no longer
hold. There is a famous (and no doubt fictional) story of a man who
watches his wife cut two inches off of either side of their holiday
ham before popping it in the oven. This happens every year. Finally,
he asks her why she does this. She thinks a moment and replies that
she doesn't know - her mom always did it that way. He asks her why her
mom did it so she calls her mom. Her mom explains that it was because
she only had small pans and that the ham never fit inside. She always
roasted the ends separately.

Jini technology is in those two inches of ham that get trimmed off
before it's time to bake the next release.

If we look back at why our mother-in-law left Jini out in
the past it may have made a good deal of sense at the time. There was
no room in the pan. But now J2ME devices are as roomy as the desktop
devices were then. EJB's are being pushed to the side with room being
made for more lightweight solutions. What is more lightweight than the
POJOs that Jini helps distribute.

In addition, there are more cooking shows to help us better
prepare meals. Look at the lessons from Apple's Rendezvous to see why
we should make it easier to Jini enable desktop applications. Let's
tie networking in a deep way to Java. Let's ship Jini, JXTA, and the
Java APIs for Rendezvous along with the JVM. What if easy dynamic
distributed networking was available from and to every Java enabled
device. For more of this "tempered rant", check out my ONJava piece href="http://www.onjava.com/pub/a/onjava/2004/12/29/jini.html">Jini:
Out of the Bottle and Into the Box.

In our other href="http://today.java.net/today/alsotoday.csp"> Also in Java
Today
feature, we rerun an item that we featured in this blog
but never ran on the front page. Chris Justus has looked into how
Google's latest instant feedback tool works in href="http://serversideguy.blogspot.com/2004/12/google-suggest-dissected.html">
Google Suggest Dissected. He writes that this is "the coolest
thing I've seen since realizing that Mozilla was embedding a
wsdl-enabled SOAP client into this browser... Google Suggest returns
suggested results as you type" He works through the "how" behind the
magic in his blog entry.


In case you missed it, we're rerunning Chet Haase's href="http://weblogs.java.net/blog/chet/archive/2004/12/yes_virginia_th.html">Yes,
Virginia, There is a JavaOne Call for Papers in today's href="http://weblogs.java.net/"> Weblogs. He writes that
the "main goal is to have content there that would make people want to
come to the conference. Understanding what people want to see is
critical to crafting the set of talks we end up with."


Sean Reilly likes the grouping of multiple catch suggestion
in today's
Forums
. "When an exception is encountered, there are
basically 4 ways of dealing with it. a) Take compensating actions to
recover from or mitigate the exception. b) Propagate the exception up
the call stack as is. c) Ignore the exception (doing nothing but
reporting/logging the exception counts here too). >d) Hoist the
exception: Wrap it in an exception more appropriate for this api and
throw the wrapped exception."

PDoubleya writes about the href="http://forums.java.net/jive/thread.jspa?messageID=9108&tstart=0#9108">
administration of libraries. "IMO, the issue is that the original
packaging mechanism, composed of the classloading/java package scheme,
then with jars and zips supported, was a great improvement over what
existed before. In fact, it has been so successful that now we have an
overload of packaged Java libraries available from all sorts of
sources. Originally the classloading scheme helped resolve issues you
found in C-style includes (specifically, where to find the referenced
classes). It was great for that, but with more and more packages in
use (I have several dozen on my machine that I use in different
combinations) we need to move up one level to multi-package support,
with some sort of versioning."


In Projects and
Communities
, the href="http://wiki.java.net/bin/view/Javapedia"> JavaPedia page
on href="http://wiki.java.net/bin/view/Javapedia/GarbageCollection">
Garbage Collection consists of links to a sequence of articles by
Sam Borman for developerWorks along with pieces by Brian Goetz and
Bill Venners. Add your links or contribute to the discussion.

Matt Raible has released href="https://equinox.dev.java.net/">Equinox, a lightweight
version of AppFuse in the href="http://community.java.net/java-enterprise/">Java Enterprise
community. He "was inspired to create it while [..] looking at the
struts-blank and webapp-minimal applications that ship with Struts and
Spring, respectively."


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.


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.

Unleash Java's secret weapon