Is Tomcat an HTTP server or a Servlet container?











up vote
-2
down vote

favorite












When I downloaded Apache Tomcat it seem to be both an HTTP server and a Servlet container.
Can I use Apache Tomcat with a different HTTP server than the one built-in in Tomcat ?










share|improve this question




























    up vote
    -2
    down vote

    favorite












    When I downloaded Apache Tomcat it seem to be both an HTTP server and a Servlet container.
    Can I use Apache Tomcat with a different HTTP server than the one built-in in Tomcat ?










    share|improve this question


























      up vote
      -2
      down vote

      favorite









      up vote
      -2
      down vote

      favorite











      When I downloaded Apache Tomcat it seem to be both an HTTP server and a Servlet container.
      Can I use Apache Tomcat with a different HTTP server than the one built-in in Tomcat ?










      share|improve this question















      When I downloaded Apache Tomcat it seem to be both an HTTP server and a Servlet container.
      Can I use Apache Tomcat with a different HTTP server than the one built-in in Tomcat ?







      apache http tomcat servlets






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 11 at 17:05









      Abhinav

      300211




      300211










      asked Nov 11 at 16:22









      John Doe

      216




      216
























          2 Answers
          2






          active

          oldest

          votes

















          up vote
          0
          down vote













          At tomcat webpage there is:




          The Apache Tomcat® software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies




          So yes, it is a servlet container as well. Generally, HTTP Server is just a server, that handles http requests (GET/POST/DELETE/PUT and some others rarely used). With pure http server, you couldn't run any servlet or jsp script.



          I have no idea, how to replace the http server by a different one, but this documentation may be helpful for you - how it works together with appache http server.



          https://tomcat.apache.org/connectors-doc/webserver_howto/apache.html






          share|improve this answer




























            up vote
            0
            down vote













            Generally,a program that accepts incoming HTTP connections is called a web server. In that case Apache Tomcat is a web server as it supports HTTP protocol and it is also a web container as it supports Java server pages (JSP)/Servlet, Application programming interfaces(APIs) as well.



            Tomcat doesn’t include the typical features of a web server,where the Apache manages the static data of the web pages,redirection etc whereas tomcat manages the web application.



            N.B.:- This link will enlighten you about the basic concepts of web server, web container and application server!






            share|improve this answer





















              Your Answer






              StackExchange.ifUsing("editor", function () {
              StackExchange.using("externalEditor", function () {
              StackExchange.using("snippets", function () {
              StackExchange.snippets.init();
              });
              });
              }, "code-snippets");

              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "1"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53250718%2fis-tomcat-an-http-server-or-a-servlet-container%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              0
              down vote













              At tomcat webpage there is:




              The Apache Tomcat® software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies




              So yes, it is a servlet container as well. Generally, HTTP Server is just a server, that handles http requests (GET/POST/DELETE/PUT and some others rarely used). With pure http server, you couldn't run any servlet or jsp script.



              I have no idea, how to replace the http server by a different one, but this documentation may be helpful for you - how it works together with appache http server.



              https://tomcat.apache.org/connectors-doc/webserver_howto/apache.html






              share|improve this answer

























                up vote
                0
                down vote













                At tomcat webpage there is:




                The Apache Tomcat® software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies




                So yes, it is a servlet container as well. Generally, HTTP Server is just a server, that handles http requests (GET/POST/DELETE/PUT and some others rarely used). With pure http server, you couldn't run any servlet or jsp script.



                I have no idea, how to replace the http server by a different one, but this documentation may be helpful for you - how it works together with appache http server.



                https://tomcat.apache.org/connectors-doc/webserver_howto/apache.html






                share|improve this answer























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  At tomcat webpage there is:




                  The Apache Tomcat® software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies




                  So yes, it is a servlet container as well. Generally, HTTP Server is just a server, that handles http requests (GET/POST/DELETE/PUT and some others rarely used). With pure http server, you couldn't run any servlet or jsp script.



                  I have no idea, how to replace the http server by a different one, but this documentation may be helpful for you - how it works together with appache http server.



                  https://tomcat.apache.org/connectors-doc/webserver_howto/apache.html






                  share|improve this answer












                  At tomcat webpage there is:




                  The Apache Tomcat® software is an open source implementation of the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies




                  So yes, it is a servlet container as well. Generally, HTTP Server is just a server, that handles http requests (GET/POST/DELETE/PUT and some others rarely used). With pure http server, you couldn't run any servlet or jsp script.



                  I have no idea, how to replace the http server by a different one, but this documentation may be helpful for you - how it works together with appache http server.



                  https://tomcat.apache.org/connectors-doc/webserver_howto/apache.html







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 11 at 16:46









                  fairtrax

                  23616




                  23616
























                      up vote
                      0
                      down vote













                      Generally,a program that accepts incoming HTTP connections is called a web server. In that case Apache Tomcat is a web server as it supports HTTP protocol and it is also a web container as it supports Java server pages (JSP)/Servlet, Application programming interfaces(APIs) as well.



                      Tomcat doesn’t include the typical features of a web server,where the Apache manages the static data of the web pages,redirection etc whereas tomcat manages the web application.



                      N.B.:- This link will enlighten you about the basic concepts of web server, web container and application server!






                      share|improve this answer

























                        up vote
                        0
                        down vote













                        Generally,a program that accepts incoming HTTP connections is called a web server. In that case Apache Tomcat is a web server as it supports HTTP protocol and it is also a web container as it supports Java server pages (JSP)/Servlet, Application programming interfaces(APIs) as well.



                        Tomcat doesn’t include the typical features of a web server,where the Apache manages the static data of the web pages,redirection etc whereas tomcat manages the web application.



                        N.B.:- This link will enlighten you about the basic concepts of web server, web container and application server!






                        share|improve this answer























                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          Generally,a program that accepts incoming HTTP connections is called a web server. In that case Apache Tomcat is a web server as it supports HTTP protocol and it is also a web container as it supports Java server pages (JSP)/Servlet, Application programming interfaces(APIs) as well.



                          Tomcat doesn’t include the typical features of a web server,where the Apache manages the static data of the web pages,redirection etc whereas tomcat manages the web application.



                          N.B.:- This link will enlighten you about the basic concepts of web server, web container and application server!






                          share|improve this answer












                          Generally,a program that accepts incoming HTTP connections is called a web server. In that case Apache Tomcat is a web server as it supports HTTP protocol and it is also a web container as it supports Java server pages (JSP)/Servlet, Application programming interfaces(APIs) as well.



                          Tomcat doesn’t include the typical features of a web server,where the Apache manages the static data of the web pages,redirection etc whereas tomcat manages the web application.



                          N.B.:- This link will enlighten you about the basic concepts of web server, web container and application server!







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Nov 11 at 16:47









                          Abhinav

                          300211




                          300211






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Stack Overflow!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.





                              Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                              Please pay close attention to the following guidance:


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53250718%2fis-tomcat-an-http-server-or-a-servlet-container%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              List item for chat from Array inside array React Native

                              Thiostrepton

                              Caerphilly