basic javaee program for my qq.