Newsletter sign-up
View all newsletters

Enterprise Java Newsletter
Stay up to date on the latest tutorials and Java community news posted on JavaWorld

Sponsored Links

Optimize with a SATA RAID Storage Solution
Range of capacities as low as $1250 per TB. Ideal if you currently rely on servers/disks/JBODs

The future of Java -- rhetoric or reality?

I could tell you, but then I'd have to Bill you

  • Print
  • Feedback
I recently read Design Patterns by Erich Gamma, et al. It's a great book, so if you haven't had time to look through it, I strongly urge you do so. (See Resources for more information on the book.) The book is a catalog of object-oriented patterns that, through experience, many object-oriented (OO) designers have developed and used effectively. What I found most interesting about the book wasn't the content but how much of the Java API uses these design patterns. This exemplifies the thoroughness and depth of knowledge demonstrated by the designers of the APIs. What I find tragic is that even though I and many of my peers understand this point, many in the computing community simply don't get it. Countless commentators, editors, and analysts are busy predicting the demise of Java or limiting it to an over-hyped fad that won't amount to much. Few of the "industry experts" really understand technology, particularly Java, well enough to make objective observations.

You've probably heard of Robert X. Cringely. He wrote the Triumph of the Nerds, which was turned into a mini-series on PBS. He has a commentary page, called "I, Cringely," on www.pbs.org. (See Resources for a link to his site.) I respect Robert's opinions; he is one of the few who actually researches a subject before writing about it. I sent e-mail to him to tell him that I generally agree with his commentaries but disagreed with his views on Java. He sent me this response:

You can't write anything in Java that can't be written (and run faster) in C++. Java may well be the next important phase in software development, but it is only a phase. Java is the Pascal of the 90s.


Java and the transistor: A technological shift

When Bell Labs physicists Bardeen, Brattain, and Shockley created the first point contact bipolar transistor in 1948, someone must have made the observation that a transistor can't do anything more than what a vacuum tube can do. Basically, transistors and vacuum tubes are merely amplifiers, and for many years, tubes were cheaper, faster, and basically better amplifiers than transistors were.

Robert Noyce and Gordon Moore didn't view the transistor as just a vacuum tube replacement. They understood the potential of transistors, founded Fairchild Semiconductor, and later founded a new company called Intel. One could argue that the transistor is just a phase in amplifier development, but transistors have become so ubiquitous that they have influenced our lives in profound ways.

Like the transistor, Java is no great leap in terms of fundamental operations. What makes Java significant is what makes the transistor significant: a shift in the direction of technology and how we use it. It's not about rewriting old applications in Java or moving from C++ to Java. It's about a new class of functionality that just wasn't considered practical before. Java bytecodes are an abstract representation of processors. This means that information contained in something as pedestrian as a smart card in your wallet or a ring on your finger can be understood by any computer anywhere. Another possibility is that complex information stored in a database can be represented efficiently and succinctly as a Java object using Java Blend API. These objects can be delivered to any type of display device or can come from any type of data entry device using remote method invocation (RMI). All of this was theoretically possible before Java but was considered impractical due to complex implementation details.

  • Print
  • Feedback

Resources
  • The book Design PatternsElements of Reusable Object-Oriented Software by Erich Gamma, Richard Helm, Ralph Johnson, and John M. Vlissides (1994, ISBN0-201-63361-2) was published by Addison-Wesley as a part of its Professional Computing Series. http://cseng.aw.com/bookdetail.qry?ISBN=0-201-63361-2&ptype=762
  • Robert X. Cringely wrote the "Notes From the Field" column for InfoWorld from 1987 to 1995. His "I, Cringely" page can be found at
    http://www.pbs.org/cringely/