Tomcat is an open-source Java Servlet container developed by the Apache Software Foundation that implements the Java Servlet and JavaServer Pages specifications from Sun Microsystems. It is written in Java, so it is platform independent. Tomcat requires setting the JAVA_HOME and CATALINA_HOME environment variables and extracting the source files to a directory before starting the server on port 8080 and accessing the welcome page. The server.xml file can be configured to serve files from a custom webapps directory.