j2ee homework 5/6/7