diff --git a/src/main/java/org/acme/getting/started/GreetingResource.java b/src/main/java/org/acme/getting/started/GreetingResource.java index 96ecb4c..7b5956f 100644 --- a/src/main/java/org/acme/getting/started/GreetingResource.java +++ b/src/main/java/org/acme/getting/started/GreetingResource.java @@ -1,6 +1,7 @@ package org.acme.getting.started; import javax.inject.Inject; +import javax.inject.Singleton; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; @@ -8,6 +9,7 @@ import org.jboss.resteasy.annotations.jaxrs.PathParam; +@Singleton @Path("/hello") public class GreetingResource {