Tomcat

2. TomcatTomcat is a web server, an open source implementation of several Java EE specifications such as Java Server Pages, Servlets, Java Websocket technology. It has been developed by Apache Software Foundation. Apache tomcat is an easy to install web server for Java applications. As it doesn’t support the whole Java EE specifications, it comes as a light weight application. To develop enterprise applications, developers can use Apache TomEE which comes with full java EE specifications. Tomcat has easy integration with Apache Ant and Eclipse. Support of IntelliJ has also been reported (https://tomcat.apache.org/tomcat-9.0-doc/building.html)Tomcat can be divided into three prime functional parts.- Catalina is a web container which interacts with Java servlets.- Coyote is a connector which delivers all the related requests to Catalina for processing.- Jasper handles the dynamic content delivery in the form of web pages.Key benefits:- Open source.- Development centric approach. Doesn’t contain full Java EE specifications making it smaller and suitable to individual developers.- Full Java EE specifications for enterprise applications available with TomEE.- As tomcat is written in Java, it is platform independent. It can run on any OS given JVM is used along with it.- Quick load and deployment time.- Extra layer of security with fewer modifications.- Platform Independence provides the feasibility of migrating to different OS platform.Key problems:- Different tomcat versions support different versions of JSP, Servlets, Java websocket technology. Hence before starting the development, if it is highly dependent on the version of the Java EE specifications, specific tomcat version shall be used.https://tomcat.apache.org/whichversion.html- Fewer web server functionality compared to others, specifically apache web server (known as httpd).- Slower compared to apache httpd- Can not be configured to have high availability, compared to liberty profile server which has this functionality.https://www.safaribooksonline.com/library/view/tomcat-the-definitive/0596003188/ch05s02.htmlPerformance – HighPopularity – Good, but less compared to apache httpdEase of use – High. Easy to install and configure as standalone web application server. Platform independence.Open source – Yes. Released under Apache license 2.0http://tomee.apache.org/documentation.htmlhttp://tomcat.apache.org/tomcat-9.0-doc/introduction.html

Leave a Reply

Your email address will not be published. Required fields are marked *