Improvement of classes in project javaee6-example-helloworld