@GET @Path("/start") public synchronized Response startOrderProcessor() { if (theMan.justChillin()) { System.out.println("INFO -- Starting things up"); theMan.makeThingsHappen(); return Response.ok().build(); } else return Response.notModified().build(); }