// Attach the JS
ServletHolder jsHolder = new ServletHolder(new JsServlet());
context.addServlet(jsHolder, JS_BASE);
// Attach the metatdata handler
ServletHolder metadataHolder = new ServletHolder(new RpcServlet());
context.addServlet(metadataHolder, METADATA_BASE);
// Attach the Proxy
ServletHolder proxyHolder = new ServletHolder(new ProxyServlet());
context.addServlet(proxyHolder, PROXY_BASE);