J2EE final homework