@Override
public void init(final ServletConfig config) throws ServletException {
super.init(config);
final ServletContext context = this.getServletContext();
final Server server = (Server) context.getAttribute("server");
this.graphDB = server.getGraphDatabase();
this.config = server.getConfig();
this.commandQueue = server.getCommandQueue();
this.workingQueue = new LinkedBlockingQueue<Object>(1);
}