Java server (J2EE) code review