java EE homework