Posted by editor
on November 24, 2005 at 6:57 AM PST
A short holiday note... also:
Feature Article: Not So Stupid Question No. 6
Projects and Communities: JDK Starter Bug list and JamVM
Also in Java Today: JBoss podcasts and Plugging memory leaks with weak references
Forum postings: Inheritance in JAXB 2 and economics of switching languages
Weblogs: Kirill's guide to writing code, debugging Swing threads, and NetBeans expectations and disappointments
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."
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 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
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
Current and upcoming Java
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
Archives and Subscriptions: This blog is delivered weekdays as
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
A short holiday note