code: public static void register(final Server s) {
          final ServletHolder sh = new ServletHolder(ServletContainer.class);
          sh.setInitParameter("com.sun.jersey.config.property.resourceConfigClass",
              "com.sun.jersey.api.core.PackagesResourceConfig");
          sh.setInitParameter("com.sun.jersey.config.property.packages", "org.jaxrx.resource");
  
          new Context(s, "/", Context.SESSIONS).addServlet(sh, "/");
      }
docs: Constructor, attaching JAX-RX to the specified server.
  
  @param s
  server instance