From the Software Evangelist for GigaSpaces Technologies

Joseph Ottinger

Subscribe to Joseph Ottinger: eMailAlertsEmail Alerts
Get Joseph Ottinger via: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn

Top Stories by Joseph Ottinger

This article was originally published in print on December 3, 2003"Eclipse represents the worst of Java" Lately, there's been a lot of guff spouted about how Sun isn't joining Eclipse. While I understand the bitterness aimed at Sun somewhat, I think that this particular brand of talk is counterproductive and, dare I say it, wrong. The talk tends to center around the concept of NetBeans and Eclipse using common technology, and I think this is misguided, and here's why. I really dislike Netbeans. I think it blows goats from here to Sussex, and considering that I live in the middle of the US, that's a lot of goats. Given the choice between NetBeans and... Notepad, I usually spend a minute pondering whether I can keep remembering to check extensions on filenames before realizing that I can, and I end up with sucky ol' Notepad instead of bothering with NetBeans. That sai... (more)

How do I find out how many records are in a RecordSet?

If you already have your ResultSet, you have two choices, both bad: one is to keep a counter as you read the records in the ResultSet, and the other is to hope you have a compliant JDBC driver that supports the getRowCount() method. Both ways probably do the same thing: read the entire dataset. If you're interested in only a count of records, that's a lot of bandwidth down the drain (and memory, too, if you happen to need the data as you fly past it.) A better approach is to run a separate query to determine the count of rows: PreparedStatement ps=connection.prepareStatement("select... (more)

A Long Road Ahead

Lately it's been easy to dislike Sun. Their JVM is slow; Sun ONE is certainly nowhere near the fastest J2EE application server; Forte, while capable, is far from what coders actually want to use if they want to write code in a reasonable amount of time; MS's constant marketing and technical assaults eat away at Sun's armor; Sun's stock (as of this writing) is roughly a dismal $4. All this adds up to a sad picture for Sun, the company that once proudly labeled itself as having put the "dot in dot-com." I've seen this reworded as "Sun put the black hole in dot-com," and that's diffi... (more)

It Just Works

We tend to see the United States through a lens made up of its major population centers: New York; Los Angeles; Washington, DC; Miami; Atlanta; Chicago; and a few others. That's because these are the places that have things "going on," and as a result we get a skewed picture not only of what the United States is about, but of what the United States actually is. From this bird'seye view, you get the sense that America is all about urban angst, hip-hop, people crammed into shiny metal boxes. The truth, however, is quite different. Those things are part of America, to be sure, but t... (more)

Let's Do Better

There's a J2EE tie-in. I promise. A fellow user mentioned something the other day about using libraries in Java. He said, and I paraphrase, that he simply didn't feel comfortable using a library if it couldn't be explained in one page. For the sake of argument, I'll assume he didn't mean one 400K page. I'm not sure I wholly agree with his statement, but his point is well taken. When I look for a tool, I want that tool to have a very clear purpose and documentation. A name should be an easily associated mnemonic, perhaps a direct tie-in to purpose, and the documentation should all... (more)