Servlet is not thread-safe by itself. You can make it thread-safe by making the service method synchronized.