we use smth like this@Component(immediate = true) @Service @Properties({
@Property(name = "service.description", value = "My Test Service"),
@Property(name = "sling.servlet.paths", value =
"/bin/myapp/test.json")}) public class TestService extends
SlingAllMethodsServlet { public final static String PARAMETER_KEY =
"id"; @Override protected void doGet(SlingHttpServletRequest request,
SlingHttpServletResponse response) throws ServletException, IOException
{ String id = request.getParameter(PARAMET...