diff --git a/bulletin-board-server/src/main/java/service/HelloWorldService.java b/bulletin-board-server/src/main/java/service/HelloWorldService.java deleted file mode 100644 index dbdf159..0000000 --- a/bulletin-board-server/src/main/java/service/HelloWorldService.java +++ /dev/null @@ -1,9 +0,0 @@ -package service; - - - -public class HelloWorldService { - public String sayHello() { - return "Hello, World!"; - } -} diff --git a/bulletin-board-server/src/main/java/webapp/HelloWebApp.java b/bulletin-board-server/src/main/java/webapp/HelloWebApp.java deleted file mode 100644 index 0a518f7..0000000 --- a/bulletin-board-server/src/main/java/webapp/HelloWebApp.java +++ /dev/null @@ -1,16 +0,0 @@ -package webapp; - -import javax.ws.rs.GET; -import javax.ws.rs.Path; - -import service.HelloWorldService; - -@Path("/hello") -public class HelloWebApp { - private static HelloWorldService helloWorldService = new HelloWorldService(); - - @GET - public String hello() { - return helloWorldService.sayHello(); - } -} diff --git a/bulletin-board-server/src/main/webapp/WEB-INF/web.xml b/bulletin-board-server/src/main/webapp/WEB-INF/web.xml index ba674d2..cc90843 100644 --- a/bulletin-board-server/src/main/webapp/WEB-INF/web.xml +++ b/bulletin-board-server/src/main/webapp/WEB-INF/web.xml @@ -6,7 +6,7 @@ jersey.config.server.provider.packages - webapp, meerkat + meerkat 1