Main Contents

The case of the Null Empty Nothing

December 1, 2009

A post about the three types of null value in LotusScript, and how they differ.

Filed under: Domino, Java, Linux | Comments (0)

Ubuntu Jaunty (9.04): Getting Java and Eclipse working

May 8, 2009

apt-get install openjdk-6-openjdk icedtea6-plugin
update-java-alternatives -s java-6-openjdk
For some inexplicable reason, Eclipse for Java Developers doesn’t include JDBC.
Eclipse J2EE edition doesn’t work with OpenJDK.
Oh well.

Filed under: Java, Linux, System administration | Comments (0)

Web Services, SOAP, Domino, and Java 6

March 9, 2009

A while back I made a brief attempt to embark on a voyage of Web Services discovery via JAX-WS. The problem was simple enough: I had a Java program running on server A which had an object. I wanted to send that object to a Domino server running on machine B.
Domino has a nifty Web [...]

Filed under: Domino, Java | Comments (0)

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 the [...]

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 (1)

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 (3)

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)