package com.ntlab.irisserver.resources; import org.springframework.stereotype.Component; import javax.ws.rs.GET; import javax.ws.rs.Path; import javax.ws.rs.Produces; import javax.ws.rs.core.MediaType; @Component @Path("/hello") public class HelloWorld { @GET public String getHello() { return "Hello World!!!"; } }