// set up server
Server server = new Server(config.getPort());
Context context = new Context(server, "/", Context.SESSIONS);
// Add the Abdera servlet
ServletHolder servletHolder = new ServletHolder(new AbderaServlet());
servletHolder.setInitParameter(ServiceManager.PROVIDER, FeedServerProvider.class.getName());
context.addServlet(servletHolder, "/*");
// Register the filters
context.addFilter(XdServletFilter.class, "/*", Handler.DEFAULT);