Skip to content

{ Monthly Archives } July 2008

Effective server side paging in SQL Server 2000

Recently a client asked me to implement paging on the administrators side of a CV/online application submission system. This essentially lists all the current applications in the system and other data (time of submission, personal details etc). The system has been well received and little thought was paid when developing it in order to scale [...]

Using an object as key for a hashmap in Java

I came across a situation recently where I needed to use an object as a key for as hashmap. According to this Java post all you need to do is to make your class override the Object.equals() and Object.hashCode() methods.
I wanted to represent a ‘flow’ in a network, with my contstructor looking something like the [...]

Using an older JDK within Eclipse and ant builds (Windows)

Sometimes its necessary to use an older JDK for compiling legacy Java applications. One of these is Jist/SWANS, a discrete event simulator which uses the Apache bytecode engineering library (bcel) but was written in the Java 1.4/1.5 era. The .class stucture has changed in the 1.6 version, and development of bcel hasn’t kept up. Heres [...]