Skip to main content

Reelin' in the Years

Posted by editor on November 24, 2005 at 6:57 AM PST

A short holiday note

It's the Thanksgiving holiday in the US, a time to be with friends, family, and football, so today's daily blog comes to you courtesy of the JDK Community and their home page item Thanksgiving Cooking for Engineers:

While the rest of the world continues on with their daily work lives those of us in the United States will be celebrating Thanksgiving this Thursday and Friday. To help those in our engineering community that lack cullinary skills the editors suggest Cooking for Engineers. This is cooking for the analytical minded with recipes that include time lines. There is even a complete Thanksgiving Dinner recipe. Bon Apetite!!!

"Not So Stupid Questions" return in today's Feature Article.
(Not So) Stupid Questions 6: Comparability of Minimum, Maximum Dimensions asks "How can you justify Dimension java.awt.Component.getMinimumSize() when Dimension does not implement Comparable<Dimension>?" If you're AWT or Swing savvy, we hope you'll stop by the article's talkbacks and help figure this one out.

In Projects and
are you interested in contributing to Mustang but not sure where to start? Try picking off a JDK Starter Bug. This new page lists bugs identified by the JDK team as being particularly suitable for outside developers to work on. A getting started page describes the criteria for starter bugs and shows how to claim a bug, collaborate on it, and submit the fix.

The Linux Java Community page recently noted a short blog about JamVM, a new Java Virtual Machine which focuses on being extremely small, yet supporting the full spec, including finalization, soft/weak/phantom references, JNI, and reflection. The executable is about 135 KB on PowerPC and 100K on Intel, and has also been run on ARM and AMD64.

In Also in
Java Today

Damon Sicore's recent JBoss Blogs entry Introducing JBoss Labs Podcasts announces "we've introduced Podcasts at JBoss, and they can be found at our community development web site, JBoss Labs. JBoss Podcasts will cover video and audio training for open source software as well as interviews with professional open source developers." A video feed is currently available and will soon be joined by an audio-only feed and an aggregated feed of all JBoss podcasts.

While programs in the Java language are theoretically immune from "memory leaks," there are situations in which objects are not garbage collected even though they are no longer part of the program's logical state. In Plugging Memory Leaks with Weak References, Brian Goetz explores a common cause of unintentional object retention and shows how to plug the leak with weak references.

In today's Forums,
sekhar offers some clarifications in
Re: Inheritance in jaxb2:
"It is not always necessary to specify all the classes that are mapped in the JAXBContext.newInstance(..) call. JAXB 2.0 will compute a reference closure on the classes specified. (see javadoc for javax.xml.bind.JAXBContext.newInstance(..) for more information). In this case, since a parameterized list is used as the type of the property, I am not certain that this will work. We will look into this further. In the meantime, please try the above and let us know if it works."

rickcarson debates some of Beyond Java's thinking in
Re: Chapter 5: Rules of the Game:
"Economics. This is wrong. The reason that programmers will ditch one language for another is if it solves their pain. The reason I haven't switched to Python or Ruby for instance is that not only do they not solve any pains for me, but they cause new ones. Show me Ruby without warting, and Python without magic underscores, and I may become more interested. When I switched from VB/C++ to Java it was because it alleviated a huge pain. No such massive pain exists in the Java world (except Struts and XP weenies)."

Kirill Grouchnikov offers a humorous Crash course in writing code in today's Weblogs: "Following the previous entry on bug handling, here is the second chapter on writing code." Note that you'll need to read code to understand Kirill's treatise on how to write code.

Debugging Swing - is it really difficult ?, Alexander Potochkin says
"every experienced Swing developer knows that Swing components must be accessed from Event Dispatch Thread (EDT) only. Working with JComponents from any other thread may lead to unpredictable results. Funny thing, I took part in interviewing several java programmers who claimed to know Swing well, but at the same time some of them had no idea what EDT is."

Fernando Lozano reveals
Great Expectations and a few disappointments with NetBeans 5:
"I was always suspicious that NetBeans were a second-class citizen inside Sun, but a recent statement from Robert Brewin threw off many of my fears. Yet I think NetBeans is taking some wrong paths in spite of the great new features."

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.

A short holiday note