@@ -0,0 +1,532 @@
+package org.jboss.as.quickstarts.hellosport;%0A%0Aimport javax.ws.rs.GET;%0Aimport javax.ws.rs.Path;%0Aimport javax.ws.rs.PathParam;%0Aimport javax.ws.rs.Produces;%0A%0A@Path(%22/HelloREST%22)%0Apublic class HelloWorldService %7B%0A%0A        @GET()%0A        @Produces(%22text/plain%22)%0A        public String sayHello() %7B%0A            return %22Hey World!%22;%0A        %7D%0A%0A        @GET()%0A        @Path(%22/%7Bname%7D%22)%0A        @Produces(%22text/plain%22)%0A        public String sayHellotoFriend(@PathParam(%22name%22) String fName) %7B%0A            return %22Hello %22+fName+%22!%22;%0A        %7D%0A%7D%0A

Create HelloWorldService.java