Skip to main content

Getting Closures

Posted by daniel on May 19, 2005 at 7:37 AM PDT

Learning something new (that isn't)

In our Featured Articles, Craig Castelaz looks at Closures in Groovy. Closures have been around a long time and they top my list of things I need to get my head around. Craig's article gets me to that dangerous stage where I think I know what they are and am ready to start misusing them. He started his exploration just to keep himself fresh. If you're a little bored, learn a new language. Groovy seemed to be a natural choice given his needs and that led him into the world of closures.

In Also in
Java Today
, Sing Li has written part one of his series on Geronimo: The J2EE 1.4 engine that could. The title is a bit baffling and the article over hypes the promise of Geronimo but it does explains GBeans and "what the Geronimo server is about and why it's an important milestone in open source software development. You've explored Geronimo's architecture and become familiar with some key terminology and concepts"

" Learning to remove a comment can lead to improvements in the code." What? Mike Clark writes this in his recent article Write Sweet-Smelling Comments. He notes "Comments are often good indications that the code can be improved." These problems can be badly named methods or methods which are too long. As for good comments, Mike writes,
"Comments themselves are a sweet smell when they tell you why something was done. When you come across a comment while you're reading code, it should stop you dead in your tracks. The programmer before you felt so compelled to tell you something important—something that couldn't be documented anywhere else—that she left you a comment. Ignore it at your own peril."

Weblogs, Inderjeet Singh writes about Securing Web-application state stored on the clients and a lesson in ease of development using cryptography.

" Web applications can store their state on the client to reduce the server-side overheads, as well as solve problems like navigating through the browser back button. In this blog, I discuss how various cryptographic mechanisms can be employed to secure this state. I also discuss a tip that the crypto library writers will, hopefully, use in the future to make crytpo easy-to-use by regular Java developers. "

Calvin Austin asks and answers the question Harmony - Friend or Foe by considering " What does Harmony really mean for the Java community ".

Greg Sporrar reports on Exhaustion and Exhilaration. " The purpose of my trip is to attend meetings where we discuss the set of features for the next version of NetBeans. Watching demos for those upcoming features was exhilarating - there are some very cool new things coming in the next release."

In Projects and
, the
Java Tools
community's Tiny Tool of the week is Nully, a tool which provides automated edit-time,
compile-time, and run-time checks for illegal null values,
utilizing Java 5.0 code annotations.

The GELC project Copycat is "a digital notepad that records your writing and speaking as you solve a problem" and publishes them so they can be viewed with a web browser.

Pelegri issues a challenge for

Multi transport/encoding...
in today's Forums. "The JAX-Mail ( project provides support for Mail protocols (SMTP and POP) but it is based on the older JAX-RPC 1.1 code base. We would very much welcome porting of that to JAX-RPC 2.0... hint, hint! We might even be able to get Sameer (the original author for jaxmail) to help and I know of at least one other developer that was interested in this area."

Javajackibm writes on
CD Burning Low Level API for Mustang
. "I would like to see a low level JNI code written with a wrapper for Java Classes for accessing CDROM and burning DVD-RAM..DVD-RW...DVD+RW."

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.

Learning something new (that isn't)