Skip to main content

Code Rot

Posted by daniel on April 21, 2004 at 9:58 AM PDT

What is happening to your code while you aren't looking at it?

In today's Weblogs , Eitan Suez engages in a Mental Exercise to Better Understand Code Rot. Eitan thinks that the two "ingredients of a successful software project are code and programmers. That people and computers exist today in some sort of symbiotic relationship." Existing code has a living breathing role in this relationship. He writes about what happens when code rots and then he looks at the flip side of how code is reinvigorated.

He writes that "we discover some piece of code (maybe we join an open source project, or maybe we pick up an abandoned open source project on sourceforge) and start familiarizing ourselves with it. The code-programmer duo starts becoming alive again and the software starts to evolve again, to improve. This is the opposite of code rot. Project success is analogous to the virus winning and overtaking its host. First a few copies are downloaded, news of the code grows, more downloads follow. Before you know it, this code is replicating itself all over the world. [..] Code rot is on the other side of that curve. When the project velocity goes down, when bugs are not being addressed at the rate that your customers approve of."

Jeff Kesselman is on a roll - today he weighs in on Things that go BOOM!. If you want to better understand Jeff - he's a guy who thinks that "wearing bright colored Spandex and making things go BOOM has a pretty wide appeal." This is not so much a blog entry on role playing as it is on load in a distributed game.

Also in Java Today
Srini Penchikala returns with part 2 of his series on Clustering and Load Balancing in Tomcat 5. He shows how to configure a cluster of four instances of Tomcat that is highly scalable, fault-tolerant, and provides automatic cluster member discovery, failover and load-balancing features, pluggable/configurable load-balancing policies, group membership notification when a member of the cluster joins or leaves a group, and no loss of message transmission through multicast. As an added requirement he would like clustering to be seamless to the web application and the server.

Bob Griswold says "Java and Linux are really made for each other. Java runs great on Unix and, yes, Java runs great on Windows, but I personally view the world as moving to Windows and Linux. There will be two operating systems that matter in five years and that's Windows and Linux." In Kevin Bedell Interviews BEA's Bob Griswold Griswold says "with JRockit, where we really distinguish ourselves from the other JVMs is -- yes, we're very, very fast. We're faster than everyone else, [and] yes, the JVM automatically manages memory and threads and classloading, etc. -- but with JRockit you can actually break open the black box and see what's happening inside Java at any time."

In today's Projects and Communities , the Web Services and XML community announces that The Web Services Security v1.0 (WS-Security 2004) specification has been approved as an OASIS Standard.

The JavaPedia is looking to build up a catalog of both commercial and open source Java products. Add a product you produce or like to use to the Applications or to the Frameworks and Libraries page.

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 by news director
Steve Mallet before being posted to the site. You can also subscribe to
News RSS feed

Current and upcoming
Java Events

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 site.

Archives and Subscriptions: This blog is delivered weekdays as the
Today RSS feed
. All members can subscribe to the email
updates for the site at the href="">
java-net Mailing Lists page. You must be logged in to subscribe
the javanet_Daily and javanet_Weekly lists. 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.