J2EE homework