词条 | Apache Tomcat | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
释义 |
}}{{Infobox software | name = Apache Tomcat | logo = Tomcat-logo.svg | screenshot = Apache-tomcat-frontpage-epiphany-browser.jpg | caption = Apache Tomcat Default Page | author = James Duncan Davidson | developer = Apache Software Foundation | released = {{Start date and age|1999}} | programming language = Java | genre = Servlet container HTTP web server | license = Apache License 2.0 }} Apache Tomcat, often referred to as Tomcat Server, is an open-source Java Servlet Container developed by the Apache Software Foundation (ASF). Tomcat implements several Java EE specifications including Java Servlet, JavaServer Pages (JSP), Java EL, and WebSocket, and provides a "pure Java" HTTP web server environment in which Java code can run. Tomcat is developed and maintained by an open community of developers under the auspices of the Apache Software Foundation, released under the Apache License 2.0 license, and is open-source software. ComponentsTomcat 4.x was released with Catalina (a servlet container), Coyote (an HTTP connector) and Jasper (a JSP engine). CatalinaCatalina is Tomcat's servlet container. Catalina implements Sun Microsystems's specifications for servlet and JavaServer Pages (JSP). In Tomcat, a Realm element represents a "database" of usernames, passwords, and roles (similar to Unix groups) assigned to those users. Different implementations of Realm allow Catalina to be integrated into environments where such authentication information is already being created and maintained, and then use that information to implement Container Managed Security as described in the Servlet Specification.[1] CoyoteCoyote is a Connector component for Tomcat that supports the HTTP 1.1 protocol as a web server. This allows Catalina, nominally a Java Servlet or JSP container, to also act as a plain web server that serves local files as HTTP documents.[2] Coyote listens for incoming connections to the server on a specific TCP port and forwards the request to the Tomcat Engine to process the request and send back a response to the requesting client. Another Coyote Connector, Coyote JK, listens similarly but instead forwards its requests to another web server, such as Apache, using the JK protocol.[3] This usually offers better performance. {{citation needed|date=September 2016}} JasperJasper is Tomcat's JSP Engine. Jasper parses JSP files to compile them into Java code as servlets (that can be handled by Catalina). At runtime, Jasper detects changes to JSP files and recompiles them. As of version 5, Tomcat uses Jasper 2, which is an implementation of the Sun Microsystems's JSP 2.0 specification. From Jasper to Jasper 2, important features were added:
Three new components were added with the release of Tomcat 7: ClusterThis component has been added to manage large applications. It is used for load balancing that can be achieved through many techniques. Clustering support currently requires the JDK version 1.5 or higher. High availabilityA high-availability feature has been added to facilitate the scheduling of system upgrades (e.g. new releases, change requests) without affecting the live environment. This is done by dispatching live traffic requests to a temporary server on a different port while the main server is upgraded on the main port. It is very useful in handling user requests on high-traffic web applications.[4] Web applicationIt has also added user- as well as system-based web applications enhancement to add support for deployment across the variety of environments. It also tries to manage sessions as well as applications across the network. Tomcat is building additional components. A number of additional components may be used with Apache Tomcat. These components may be built by users should they need them or they can be downloaded from one of the mirrors.[5] FeaturesTomcat 7.x implements the Servlet 3.0 and JSP 2.2 specifications.[6] It requires Java version 1.6, although previous versions have run on Java 1.1 through 1.5. Versions 5 through 6 saw improvements in garbage collection, JSP parsing, performance and scalability. Native wrappers, known as "Tomcat Native", are available for Microsoft Windows and Unix for platform integration. Tomcat 8.x implements the Servlet 3.1 and JSP 2.3 Specifications.[7] Apache Tomcat 8.5.x is intended to replace 8.0.x and includes new features pulled forward from Tomcat 9.0.x. The minimum Java version and implemented specification versions remain unchanged.[8] HistoryTomcat started off as a servlet reference implementation by James Duncan Davidson, a software architect at Sun Microsystems. He later helped make the project open source and played a key role in its donation by Sun Microsystems to the Apache Software Foundation.[9] The Apache Ant software build automation tool was developed as a side-effect of the creation of Tomcat as an open source project. Davidson had initially hoped that the project would become open sourced and, since many open source projects had O'Reilly books associated with them featuring an animal on the cover, he wanted to name the project after an animal. He came up with Tomcat since he reasoned the animal represented something that could fend for itself. Although the tomcat was already in use for another O'Reilly title,[10] his wish to see an animal cover eventually came true when O'Reilly published their Tomcat book with a snow leopard on the cover in 2003.[11] Releases
CommunitiesApache software is built as part of a community process that involves both user and developer mailing lists. The developer list is where discussion on building and testing the next release takes place, while the user list is where users can discuss their problems with the developers and other users. Some of the free Apache Tomcat resources and communities include Tomcatexpert.com (a SpringSource sponsored community for developers and operators who are running Apache Tomcat in large-scale production environments) and MuleSoft's Apache Tomcat Resource Center (which has instructional guides on installing, updating, configuring, monitoring, troubleshooting and securing various versions of Tomcat). Apache TomEEApache TomEE (pronounced "Tommy") is the Java Enterprise Edition of Apache Tomcat (Tomcat + Java EE = TomEE) that combines several Java enterprise projects including Apache OpenEJB, Apache OpenWebBeans, Apache OpenJPA, Apache MyFaces and others.[20] In October 2011, the project obtained certification by Oracle Corporation as a compatible implementation of the Java EE 6 Web Profile.[21][22]See also{{Portal|Free and open-source software|Java (programming language)}}
References1. ^{{cite web|url=http://tomcat.apache.org/tomcat-5.5-doc/config/realm.html |title=Apache Tomcat Configuration Reference - The Realm Component |publisher=Tomcat.apache.org |date= |accessdate=2013-11-01}} 2. ^The Coyote HTTP/1.1 Connector, Apache 3. ^{{cite web|url=http://tomcat.apache.org/tomcat-4.1-doc/config/coyotejk.html|title=Server Configuration Reference - The Coyote JK Connector|author=|date=|website=tomcat.apache.org|accessdate=24 August 2018}} 4. ^{{cite web |url=http://www.javaworld.com/javaworld/jw-12-2004/jw-1220-tomcat.html |title=High availability Tomcat - Connect Tomcat servers to Apache and to each other to keep your site running |last1=King |first1=Graham |date=2004-12-20 |publisher=JavaWorld |accessdate=2013-02-13}} 5. ^{{cite web|author=Remy Maucherat |url=https://tomcat.apache.org/tomcat-7.0-doc/extras.html |title=Apache Tomcat 7 (7.0.47) - Additional Components |publisher=Tomcat.apache.org |date=2013-10-18 |accessdate=2013-11-01}} 6. ^{{cite web|url=http://tomcat.apache.org/whichversion.html|title=Apache Tomcat Versions|accessdate=2011-11-12}} 7. ^{{cite web|url=https://tomcat.apache.org/download-80.cgi|title=Apache Tomcat® - Apache Tomcat 8 Software Downloads|author=|date=|website=tomcat.apache.org|accessdate=24 August 2018}} 8. ^{{cite web|url=http://tomcat.apache.org/tomcat-8.5-doc/index.html|title=Apache Tomcat 8 (8.5.33) - Documentation Index|first=Craig R.|last=McClanahan|date=|website=tomcat.apache.org|accessdate=24 August 2018}} 9. ^{{cite web |last1=Davidson |first1=James Duncan |author1-link=James Duncan Davidson |date=2014-11-14 |df=mdy |title=What was the history of Tomcat inside Sun before it was open-sourced? |url=https://www.quora.com/What-was-the-history-of-Tomcat-inside-Sun-before-it-was-open-sourced |website=Quora |accessdate=2018-07-25}} 10. ^{{Citation |title=UML in a Nutshell |url=http://shop.oreilly.com/product/9781565924482.do |author=Sinan Si Alhir |publisher=O'Reilly Books |isbn=978-1-56592-448-2 |pages=296 | year = 1998 |postscript=}} 11. ^{{citation | first1 = Jason| last1 = Brittain| first2 = Ian F.| last2 = Darwin| title = Tomcat: The Definitive Guide | edition = 1st| publisher = O'Reilly Media| isbn = 978-0596003180 | url = http://shop.oreilly.com/product/9780596003180.do | page = 320 | date = | accessdate = 2018-03-01| postscript =}} 12. ^{{cite web|url=http://technotif.com/the-origin-story-of-tomcat/|title=The Origin Story of Tomcat|publisher=TechNotif|accessdate=23 July 2017}} 13. ^{{cite web|url=http://mail-archives.apache.org/mod_mbox/jakarta-announcements/200209.mbox/%3C3D789475.60405@apache.org%3E|title=[ANNOUNCEMENT] Tomcat 4.1.10 Stable|publisher=|accessdate=21 September 2015}} 14. ^1 2 3 4 5 {{cite web|url=https://tomcat.apache.org/whichversion.html|title=Apache Tomcat® - Which Version Do I Want?|first=Marc A.|last=Saegesser|date=|website=tomcat.apache.org|accessdate=24 August 2018}} 15. ^{{cite web|url=http://tomcat.apache.org/tomcat-55-eol.html|title=Apache Tomcat|author=Apache Tomcat Project|publisher=|accessdate=21 September 2015}} 16. ^{{cite web|url=http://jakarta.apache.org/site/news/news-2004-2ndHalf.html#20041110.1|title=The Jakarta Site - News and Status|publisher=|accessdate=21 September 2015}} 17. ^{{cite web|url=http://mail-archives.apache.org/mod_mbox/www-announce/200703.mbox/%3C45E61194.5050003%40apache.org%3E|title=[ANN] Apache Tomcat 6.0.10 released|publisher=|accessdate=21 September 2015}} 18. ^{{cite web|url=http://tomcat.apache.org/oldnews-2011.html#Tomcat_7.0.6_Released|title=Apache Tomcat|author=Apache Tomcat Project|publisher=|accessdate=21 September 2015}} 19. ^{{cite web|url=http://tomcat.apache.org/oldnews-2014.html#Tomcat_8.0.9_Released|title=Apache Tomcat|author=Apache Tomcat Project|publisher=|accessdate=5 October 2015}} 20. ^{{cite web|url=http://openejb.apache.org/apache-tomee.html|title=Apache TomEE|publisher=Apache OpenEJB}} 21. ^{{cite web|url=http://www.marketwatch.com/story/the-apache-software-foundation-announces-apache-tomee-certified-as-java-ee-6-web-profile-compatible-2011-10-04|title=The Apache Software Foundation Announces Apache TomEE Certified as Java EE 6 Web Profile Compatible|publisher=MarketWatch|date=4 Oct 2011}} 22. ^{{cite web|url=http://www.infoworld.com/d/application-development/apache-tomee-web-stack-gains-approval-175341|title=Apache TomEE Web stack gains approval|publisher=InfoWorld|date=7 Oct 2011}} Bibliography{{refbegin}}
| first1 = Jason | last1 = Brittain | first2 = Ian F. | last2 = Darwin | title = Tomcat: The Definitive Guide | edition = 1st | publisher = O'Reilly Media | isbn = 978-0596003180 | url = http://shop.oreilly.com/product/9780596003180.do | page = 320 | date = | accessdate = 2018-03-01 | postscript = }}
| first1 = Jason | last1 = Brittain | first2 = Ian F. | last2 = Darwin | title = Tomcat: The Definitive Guide | edition = 2nd | publisher = O'Reilly Media | isbn = 978-0596101060 | url = http://shop.oreilly.com/product/9780596101060.do | page = 496 | date = | accessdate = 2018-03-01 | postscript = }}
| first1 = Vivek | last1 = Chopra | first2 = Sing | last2 = Li | first3 = Jeff | last3 = Genender | date = August 13, 2007 | title = Professional Apache Tomcat 6 | edition = 1st | publisher = Wrox | page = 629 | isbn = 978-0-471-75361-2 | url = http://www.wrox.com/WileyCDA/WroxTitle/productCd-0471753610.html | accessdate = 2009-10-08 | postscript = }}
| first1 = Matthew | last1 = Moodie | first2 = Kunal | last2 = Mittal (Ed.) | date = March 22, 2007 | title = Pro Apache Tomcat 6 | edition = 1st | publisher = Apress | page = 325ে | isbn = 978-1-59059-785-9 | url = http://www.apress.com/book/view/9781590597859 | accessdate = 2009-10-08 | postscript = }}{{refend}} External links{{Commons category|Apache Tomcat}}
7 : Apache Software Foundation|Java enterprise platform|Free software programmed in Java (programming language)|Free web server software|Cross-platform free software|Software using the Apache license|Web server software programmed in Java |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。