added more code

HelloWorldResource.java file