Main Contents

Bitten by the specialness of Java arrays

February 18, 2009

Suppose you have some text in Java that you want to manipulate. There are classes like StringBuffer for doing so, but let’s imagine that you choose to use a char array for some special reason. Now suppose that several pages of code later, perhaps in a different piece of code entirely, you decide to use [...]

Filed under: Java | Comments (4)

Top 25 most dangerous programming errors

January 12, 2009

The SANS Institute has published a list of the Top 25 Most Dangerous Programming Errors. The list itself contains all the usual suspects–buffer overflows, SQL injection, relying on client code to perform data validation, and various other classics. If any of the items on the list strike you as surprising, you probably shouldn’t be writing [...]

Filed under: Java, JavaScript, Programming | Comments (0)

Java SSL/HTTPS via JSSE: Write once, run everywhere?

November 4, 2008

Getting your SSL code to work on both Sun and IBM JVMs.

Filed under: Java | Comments (0)

The fractious leap second debate

September 16, 2008

You might not have heard about it, but there’s a debate going on which threatens to redefine time as we measure it. I’m something of a time nerd; all the computers in our house are synchronized to atomic clocks, as are several of our regular clocks, my wristwatch, and my phone. The debate going on [...]

Filed under: Java | Comments (3)

Java, JDBC and “memory leaks”

September 5, 2008

How to do a JDBC query–something which hardly anyone can get right, apparently.

Filed under: Java | Comments (1)

Java annoyance: final parameters

August 26, 2008

The final word on the final keyword when used with Java method parameters.

Filed under: Annoyances | Comments (6)

Java: not all that bad these days

August 26, 2008

I quite like Java as of Java SE 5. However…

Filed under: Java | Comments (0)

Looking for debug information in all the wrong places

August 11, 2008

Problems with SSL connections to Domino caused by a bad /etc/hosts entry.

Filed under: Domino, Java | Comments (0)

Domino server and Java client, SSL with self-signed certificate

July 17, 2008

Can’t connect to a Domino server with a self-signed SSL certificate, using a Java client? Here’s how to fix the problem.

Filed under: Domino, Java | Comments (1)