Servlet factory little refactoring