Skip to main content

Sitting in Limbo

Posted by editor on November 23, 2007 at 2:37 AM PST


Will your code outlive you?

First off, if you didn't check the page yesterday, perhaps because of the Thanksgiving holiday in the U.S., then go back to the archive and read up on the early draft of JSR-294 (superpackages) and a Java-compatible runtime running on the iPhone.

Now, as for today. Talking with some former colleagues, I was surprised to find that stuff I'd written years ago was still running in production, largely unmodified. That seems kind of funny if you think of all the times you work on code bases that never even make production, or on projects that get released but fail in the marketplace. And if they succeed, the constant march of progress often demands they be redone at some point, perhaps because of changes in the runtime environment or because your work was a quick first-cut that was never expected to last, or whatever. Perhaps there's a unique combination of factors -- quality, usefulness, and efficiency, for example -- that work together in a virtuous circle to keep a given code base viable over the years.

Or, maybe you just wrote a mission-critical system with bizarre metaphors, circular reasoning, and an absolute absence of comments, preventing it from ever being maintained or replaced. Don't laugh -- more than a few people have used this as a job-protection strategy. They can't lay you off if nobody else can read your crazy code... right?

With such thoughts of quality and viability in mind, the latest java.net Poll asks "how old is your oldest code that's still in production?" Cast your vote on the front page, then visit the results page for current tallies and discussion.


In today's Weblogs, Evan Summers takes a big picture view of mobile development in his blog,
Java Droid.
"I was recently travelling, dependent on internet cafes to find maps, hotels, trains and planes. But enough about my life and travels, lemme think out loud again about Android vs JavaFX Mobile. I say the game only gets really interesting when common handsets have converged with personal computers, so these platforms become indistinguishable to consumers and software developers."

Sergey Malenkov answers a question that probably isn't asked often enough:
How to veto a property change? "Correct usage of constrained properties seems still remain unclear for many users."

Finally, Kumar Jayanti offers a lengthy tutorial blog,
SSL and CRL Checking with GlassFish V2.
"The following topics will be covered: how to change the keystore password, steps to develop a skeletal web application that uses SSL Mutual Authentication, how to enable CRL based revocation checking (static CRL file approach), how to Enable CRL based revocation checking (dynamic approach), revocation checking using OCSP (Online Certificate Status Protocol)."


In Java Today,
the recently concluded Ask The Experts session on NetBeans IDE 6.0 has been made available as a transcript. In it, NetBeans evangelists Judith Lilienfeld, Brian Leonard, and David Botterill answered questions about the obfuscator function in NetBeans, how to run/invoke JavaFX code from a NetBeans module, the current status of PHP support in NetBeans, and much more.

Jeff Friesen's Beginning Java SE 6 Platform: From Novice to Professional is out now from Apress. In the JavaWorld article Ajax programming with the Java Scripting API Jeff introduces you to his new book by presenting excerpts from its chapter on the Java Scripting API (JSR 223). You'll learn some of the fundamentals of the Java Scripting API, such as how to obtain a script engine, get the script engine to evaluate scripts, and communicate with scripts via script variables. You'll also have the chance to apply what you've learned to a project involving the XMLHttpRequest object used in Ajax programming.

In Key Challenges in Portal Adoption, a new article on TheServerSide, Nikil Sharma offers an overview of aspects to watch in adopting portals in various organizations and enterprises. "Along with many stable products (including some good open-source alternatives) in the Portal space, there are also various standards/specifications (JSRs) to address various pain points. However, the relative maturity in individual organizations with respect to executing a Portal project or Portal Adoption program is debatable. This article is an attempt to study / enlist the various challenges that are present for the project teams who are planning to embark on the "not-so-smooth" journey of Portal Adoption."


In today's Forums,
thenetworker endorses JXTA for networked game use, in
Re: Newbie java coder to make multiplayer mobile game.
"That answer would be definitely "yes", from me at least. You should use JXTA, because JXTA network computing concept is much more superior to the old-fashioned technologies, say sockets. Don't be confused by the fact the JXTA does run on sockets right now. The more correct statement would be that Jxta "is able to" run on sockets. But it does not have to use socket-based infrastructure. The Jxta's XML based protocols alone would give you a lot of joy."

jbernhard hopes for some help to do
J2ME socket encryption.
"I am trying to write an application for mobile phones. For this application i need a socket connection to my server application. Is there possible to create a socket connection with ssl-encryption on J2ME? Are there other possibilities to encrypt a socket connection??"

Finally, Noel Grandin takes on design criticism of a proposed Swing project in
Re: Announcing a new sub project: SeparatedTableModel.
"I can't say that I really agree with that assessment - Swing's ideas of "model" bear only a passing resemblance to real domain model code and are really just useful classes for separating the UI's data feed from its display mechanism. I've always found the TableColumnModel/TableModel split awkward to deal with. So in that sense, SeparatedTableModel (maybe the name could be better)is a nice idea for managing table display concerns."


Current and upcoming 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 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.

Will your code outlive you?