This is my java EE homework...