Some Java and Java EE hacking