[Music] hello everyone and welcome to today's session on what is apache tomcat server before starting today's session please do not forget to hit the subscribe button and click the bell icon so basically apache tomcat is one of the most used java technologies today with 48 percent of developer adopting in in 2022 but why is it so popular and how does it stack up against the competing java web and application servers basically it's a free java servlet container that supports a variety of java enterprises specs including websites api java server pages and of course the java servlet so without further ado let's check today's agenda first we are going to discuss about what is apache tomcat then we are going to discuss about what kind of server is apache tomcat then we are going to study about advantages of tomcat then we are going to study about disadvantages of tomcat then we are going to compare tomcat versus other servers and at the end we are going to discuss about its conclusion so what is apache tomcat tomcat's full name is apache tomcat and it was created in an open collaborative environment and released for the first time in 1998. it started out as a reference implementation for java servlet api however it is no longer considered the reference implementation for both of these technologies yet it is still the primary choice among users apache tomcat is basically widely used as open source web server and java servlet container tomcat was created by sun micro systems as a reference implementation for java servlet and java server pages and it was eventually donated to the apache software foundation since then other sun volunteers have contributed to the product leading to its accreditation as a top-level apache project in 2005. many enterprises now utilize apache tomcat since it implements many of the java tripoli requirements servlets in java java server pages java expression language and java web sockets are all example of java technologies at the time of writing apache tomcat 10.0.x is the most recent tomcat release and it is still in the active development it's the first tomcat release to provide support for java servlet 5.0 and java server pages 3.0 java expression language 4.0 and websocket 2.0 now let's discuss about what kind of server is apache tomcat but first let's have a look at how many types of application servers are supported by java ecosystem and see where tomcat fits in a servlet container is essentially a java servlet implementation that is mostly used to host java servlets the java enterprise application server is java specification of implementation a web server is a type of server that uses a local system such as apache to serve files we can claim that tomcat is jsp at its core which means that java server pages jsp also known as server side view is a rendering technology is one of the most server side programming technologies that allows developers to build platform independent dynamic content a servlet is a java based software component that aids in the expansion of a server capabilities it can however react to a variety of requests and is commonly used to host web application on the servers from developers perspective we only need to build java server pages or the servlet and tomcat will handle the routing because tomcat serves as both web server and servlet container it is referred to as web server rather than application server it doesn't have all java enterprise edition features but it isn't necessarily a drawback many applications just require tomcats functionality thus upgrading to powerful tools isn't necessary if the functionality provided by apache tomcat are sufficient you can use it for production application that processes millions of requests in any event tomcat is a ready to use application now let's discuss about if tomcat is still a favorite tomcat is used by 48 of java teams according to our 2022 java developers productivity report this is owned to the fact that it is very light too and that is also available for free it provides the majority of fundamental functionality required by many application and has a quick startup time and has a far shorter redeploy times than other tools on the market if you ever have a problem the rich documentation will almost certainly assist you in finding the solution tomcat has excellent documentation and anything not covered in the official documentation can be found on the internet where you have several number of tutorials it's also worth noting that tomcat isn't a one-size-fits-all java application server the proper server is always determined by application requirements now let's discuss about advantages of tomcat first it is open source and free it implies that anyone from anywhere can download it install it and use it for free making it the preferred platform for new developers and users next it is exceptionally lightweight even with the java double e certification it's fairly light application however compared to its many competitors it provides all necessary and conventional functionalities required to manage a server which means it provides very rapid load and redeploys yes it is true that it does not offer a large amount of features but if you want a simple and quick way to operate your application it is the perfect alternative for you let's discuss about its third feature it is highly adaptable it offers high versatility due to its built-in customization options fast and lightweight nature a user can operate it in any way he wants and still perform correctly because it is open source and anyone with the knowledge can customize it to meet their needs next advantage of tomcat is its stability it is one of the most stable platforms available today for building and running applications we are utilizing it to run ours because it runs independently of apache system and it is quite stable if tomcat experiences a major failure and ceases to function the remainder of our server will continue to function normally its next feature is documentation it has a lot of evidence it offers a great documentation including large number of free online tutorials that can be downloaded or seen immediately online by the user making it one of the best choices for filling the demand of an application server in almost every java web application whether a user is looking for installation instruction startup settings or server configuration nodes all of this information may be found on the internet there are few other advantages such as its security it adds an added layer of security because many firms prefer to put their tomcat installation behind secondary firewall that can be accessed only from the apache installation and next it is actually kind of a mature so when we go back in time and we see that it has been around for about 20 years which is a substantial period of time during which it has matured because tomcat is an open source software and it is updated frequently with new releases and it is maintained by the open source community because of its maturity it is one of the most reliable application servers for developing software creating application and then delivering java application since then it has shown to be very solid choice then it has grown in strength thanks to excellent community support with all of these advantages let's discuss about few of the disadvantages of tomcat if you are looking with the static pages it is not quick as apache it does contain some flaws such as memory leak it has a method of dealing with logs it has a problem with ssl setups and its method of dealing with logs these are one of the most prominent tomcats drawback and also it has very poor and rudimentary user interface now let's look at some of tomcat's drawback if we are working with the static pages it's not as quick as apache it contains some flaws such as memory leak it has a problem with ssl setups and also its method of dealing with locks and at the end it has a poor and rudimentary user interface now let's discuss tomcat versus other web servers for example at the first we are going to take jetty so if we talk about tomcat versus jetty tomcat is frequently compared to jetty when it comes to lightweight sews jetty is a servlet container and http server that is frequently used as an embedded server jetty was the only tool that could run an embedded mode for a long period of time tomcat can now run in both embedded and standalone modes both of these technologies are open source with tomcat being produced under apache 2.0 an open source license and jetty being created under the eclipse foundation apache 2.0 and eclipse public license 1.0 now let's discuss about the benefits of tomcat now tomcat actually has a high market share and it focus on being up to date with the latest specification it is very well documented and it is also embeddable but if we talk about jetty it prioritizes the needs of user community it has a small memory footprint and it is also embeddable now let's discuss about other web servers such as web logic server versus tomcat weblogic is a commercial project currently being developed by oracle corporation and as such it is licensed and requires license to be used commercially web logic outperforms tomcat in number of ways including the ability to enable distributed transaction versus the transaction manager corporate java beans and other capabilities that make it a viable commercial solution and enterprise application weblogic also includes a superb administration console that makes server administration pleasure and on the other hand tomcat doesn't have all these features let's discuss at the end what we conclude so for java development teams picking the right application server can be a difficult task but one thing is definitely certain you must always examine the application's requirement this will prevent you from selecting a tool that provides more feature than application require cause unnecessary pressure on everything else such as memory startup times and setup whether you are sure or not which server is best for you start with tomcat to see how it will suffice although apache tomcat is not a pure application server comparing to other tools listed above but it can also help you to understand how they should be used tomcats main competitor for lightweight tool is jetty as both implement only a few java enterprise edition functionalities thank you that was all from my site just a quick info guys if you want to make a career in cloud computing then intellipaat provides an advanced certification on cloud and devops by iit madras this course is taught by industry experts and iit madras faculty this course is designed to upskill and land your dream job you