Java Tomcat is an open-source web server as well as a servlet container and is used for its portability as well as flexibility as it only needs to be written once and can be used on a variety of different platforms such as Windows, Android, and so on.