Java sucks.
JAVA sucks, period. If at all possible, avoid it. If this is impossible, the next best thing would probably to try to convince your boss to move to a newer dialect such as Java2K. But if you're stuck with that piece of marketing hype gone real, you might wanna try the tools I wrote here that make living in Javaland at least slightly bearable (if that is the english expression).