Comments
Richard Davies wrote: The UK has a good crop of technology pioneers in cloud computing - for example ElasticHosts, FlexiScale, Flexiant, OnApp - and also some strong government initiatives such as G-Cloud. We will have to see whether this kind of technical leadership converts into swift mass-market adoption or not.
Cloud Expo on Google News

SYS-CON.TV
Cloud Expo & Virtualization 2009 East
PLATINUM SPONSORS:
IBM
Smarter Business Solutions Through Dynamic Infrastructure
IBM
Smarter Insights: How the CIO Becomes a Hero Again
Microsoft
Windows Azure
GOLD SPONSORS:
Appsense
Why VDI?
CA
Maximizing the Business Value of Virtualization in Enterprise and Cloud Computing Environments
ExactTarget
Messaging in the Cloud - Email, SMS and Voice
Freedom OSS
Stairway to the Cloud
Sun
Sun's Incubation Platform: Helping Startups Serve the Enterprise
POWER PANELS:
Cloud Computing & Enterprise IT: Cost & Operational Benefits
How and Why is a Flexible IT Infrastructure the Key To the Future?
Click For 2008 West
Event Webcasts
Java 1.4 and the Rest!
Java 1.4 and the Rest!

Guess what? It’s JavaOne month. That came around fast – and don’t panic if you’re sitting there wondering where the year went; it hasn’t, well not yet anyway. JavaOne is earlier this year, with only a nine-month gap from the previous one. It’s moved back to its old March time slot, which makes traveling and staying in San Francisco a little cheaper. Early reports indicate that attendance will be down this year, but I think that’s a good thing – it was getting too big. Never enough time for all the sessions you want to attend or to talk to the people you want to meet. We’ll report next month on the jewels we uncover and you can read about the goings on at www.sys-con.com/java.

Java 1.4
Last month Sun officially launched its latest JDK. It will be awhile before it enters mainstream usage, as it takes a significant amount of time before vendors and developers are confident enough to release products that are 1.4+ only. I have an interview scheduled with the senior project manager of 1.4, Sherman Dickman. I’ve been garnering questions from all around; you may have spotted me asking for them in various mailing lists. Now that I’m armed, I’ll be posing these questions to Sherman and you can read the answers in next month’s JDJ. One thing that I will comment on with respect to the new 1.4: a lot of people don’t seem too bothered about the extra features or API enhancements. A lot of the questions are centered on speed and memory usage. If you’ve downloaded the new 1.4 and have run some benchmark tests on it, I’d love to hear your views.

How Many Lines of Code?
I’ve been lurking around some of the Java mailing lists and am continually amused at some of the postings. In fact, let me scrub that, I’m scared to death of some of the posts. There are people out there who obviously believe they’re Java programmers and, more important, have probably managed to convince others of this too; it’s spiraling out of control, I tell you. We may laugh, but it’s these sort of people who have a major impact on our industry and the language. Java doesn’t need any more bad press since .NET is on the horizon, and if these people can’t get their projects working in Java, their managers will look to alternatives, citing Java as the reason for project failure, not the incompetency of the developer who claimed to have known Java.

Allow me to give you an example that may send you running for the hills. There was an innocent enough question posted on the list regarding JDBC and how to retrieve the number of results in a given ResultSet, preferably without resorting to rewriting your SQL, or performing an additional SQL query such as a COUNT(*). It was a good question and since the API doesn’t actually give you a single method for this, it’s a fair enough question for someone new to JDBC. The question wasn’t the issue; it was the array of answers that tickled me at first until I read the one that scared the life out of me. Before I give you the answer in question, remember the poor guy who posted the problem in the first place. He just wants an answer and is relying on the skillset and expertise of a mailing list to guide him. If I were him, I would be so confused; he’d be better off not asking the question in the first place.

The majority of the answers centered around the [while (Res.next()) noRows++;] answer, which works beautifully. It may not be the most efficient way, but it works. Somebody posted a reply and never twigged it was actually a VisualAge wrapper class (and don’t get me started on the evils of the IDE!). Using third-party tools is not a bad idea and is to be encouraged if it makes your life easier. But don’t make huge leaps of faith based on them.

The post that sent shock waves through me was the one that stated that because there was only one method call being made [getRowCount()], it was much faster than all the other methods presented in this thread. Wow...major leap of the faith there, but without disparaging the poster completely, you can see the logic – well, almost! There was, of course, the plethora of posts afterwards, trying to explain to him that the third-party wrapper had no more magic at its fingertips than the JDBC driver, and therefore was probably doing the underlying [while] method of determining the number of rows. But the issue here is that this guy posted the solution in all seriousness and good faith and, at the time, really believed in what he was saying (I wonder if he was certified!).

There was, of course, a major fundamental software engineering principal lacking; as I talk to more and more people, and listen on various mailing lists and newsgroups, I see this sort of example time and time again. These are people who think they know what they’re doing, and to that end have the tenacity to be advising others. Blind leading the blind.

Nothing would give me more satisfaction than having Java as the number-one programming language, but to do this we need to keep the quality up and help where we can. If you’re unsure, don’t post anything – you’ll only lead others astray. Which is why there’s always the standard question: Where can I go for good quality answers? To be honest, very few places and generally only those that are moderated. I would, however, recommend www.jguru.com , which I’ve found comes up trumps time and time again.

I think the moral of the tale is this: don’t believe everything you read on a computer screen!

On a somewhat related note, I see Mr. Gosling headed into some controversial water last month and was quoted as saying: “IDEs are generally targeted at low-end developers – people who are not experts at writing code.” It was interesting to hear him say that, particularly in this environment where the likes of ANT and Emacs are coming back into fashion. Apparently, James is working on a new kind of IDE, which I suspect he’ll want to give another name to to distance his creation from the mainstream IDEs.

So with that thought, I’m off! Catch ya next month!

About Alan Williamson
Alan Williamson is widely recognized as an early expert on Cloud Computing, he is Co-Founder of aw2.0 Ltd, a software company specializing in deploying software solutions within Cloud networks. Alan is a Sun Java Champion and creator of OpenBlueDragon (an open source Java CFML runtime engine). With many books, articles and speaking engagements under his belt, Alan likes to talk passionately about what can be done TODAY and not get caught up in the marketing hype of TOMORROW. Follow his blog, http://alan.blog-city.com/ or e-mail him at cloud(at)alanwilliamson.org.

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 1

The author has made a very serious and worth-paying-attention-to remarks about the incompetency of many Java developers. Unfortunately, the situation is not very different with any other kind of language or programming environment. It is probabbly a natural byproduct of the "demand" that now a days just anybody w/o any formal training gets to claim a programmer. A good programming language and environment can impose some discipline, but the basic standards can not be changed much. And the basic standards of software engineering in general, is pathetic! So is the standard of most IT managers. wonder if there is anybody who pays any attention to Watts S. Humphrey's recommendations.

Your points are well made. I would have to disagree regarding VisualAge. It is nice having the repository built into IDE. I would also be interested in hearing more feedback regarding the 1.4 API


Your Feedback
javaid aslam wrote: The author has made a very serious and worth-paying-attention-to remarks about the incompetency of many Java developers. Unfortunately, the situation is not very different with any other kind of language or programming environment. It is probabbly a natural byproduct of the "demand" that now a days just anybody w/o any formal training gets to claim a programmer. A good programming language and environment can impose some discipline, but the basic standards can not be changed much. And the basic standards of software engineering in general, is pathetic! So is the standard of most IT managers. wonder if there is anybody who pays any attention to Watts S. Humphrey's recommendations.
Mike wrote: Your points are well made. I would have to disagree regarding VisualAge. It is nice having the repository built into IDE. I would also be interested in hearing more feedback regarding the 1.4 API
Latest Cloud Developer Stories
Rackspace Hosting, the service leader in cloud computing, on Thursday announced its acquisition of SharePoint911, an industry leader in SharePoint consulting, training, and "JumpStart" services within SharePoint. The unification of both companies provides capabilities to deliver ...
With Cloud Expo 2012 New York (10th Cloud Expo) now under four months away, what better time to start introducing you in greater detail to the distinguished individuals in our incredible Speaker Faculty for the technical and strategy sessions at the conference... We have techn...
Nimble, the social CRM platform has announced the launch of Nimble 2.0, billed as the “most social” CRM platform on the market today. Nimble was designed entirely with social CRM in mind and is the first social business platform that empowers companies with the ability to get clo...
2011 was a year of rapid adoption for public and private cloud services. Instant and on-demand server provisioning was the driving force behind the massive growth. On top, cloud server templates and script automation simplified application installation for simple and pre-defined ...
"Having been in the IT field for many years, I believe the cloud computing chapter in the industry is an exciting one and I am proud to be a part of it," said National Reconaissance Office (NRO) Chief Information Officer Jill T. Singer Tuesday, as it was announced that she was on...
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

SYS-CON Featured Whitepapers
ADS BY GOOGLE