A servlet is a peace of Java software that runs on a server, and typically serves web content.\n\nIn order to run a servlet, you need some Servlet Container software. There are many out there, like Apache Tomcat, JBoss or Caucho Resin.