Apache is a group of people, not a company, who make an opensource webserver. They refer to the open source project as Jakarta. There are several parts to Tomcat. Tomcat itself is the supervisor. It hosts Catalina to serve as a womb for Servlets. It hosts Jasper to handle JSP (Java Server Pages). It hosts Coyote to handle vanilla HTTP (Hypertext Transfer Protocol) serving. However, it is common for people to add on the Apache HTTPD Web server version 2.4.9 Last revised/verified: 2014-03-17 for high performance HTTP serving. It runs beside, not under Tomcat.
All of this is free. It is easy to set up. It does not support EJB. Tomcat is now considered ex-Jakarta, but still Apache. What that means practically, I have no idea. Tomcat is version 8.0.15 Last revised/verified: 2014-11-13 handles Servlets 3.0 and JSP 2.2 Last revised/verified: 2012-12-12 On Windows it comes with an installer. After you have installed, set up the environment in the control panel.
Then invoke X:\Program Files\tomcat-8.0.15\bin\startup.bat to launch Tomcat. In your browser type http://localhost:8080 and you will see a web page served by Tomcat sporting a green and yellow colour scheme, a cat and a feather if all went according to plan. Note that is localhost:8080 not localhost:80. You can then run the various examples. Use X:\Program Files\tomcat-8.0.15\bin\shutdown.bat to shut Tomcat down. Glassfish is a common faster alternative that in addition handles EE (Enterprise Edition).
The main thing you have to configure is a list of file extensions and their corresponding MIME (Multipurpose Internet Mail Extensions) types.
|bin||Executables, startup.bat, shutdown.bat and *.sh files to control taking Tomcat up and down.|
|conf||*.policy, *.properties and *.xml files to configure Tomcat.|
|logs||logs of what Tomcat did.|
|temp||temporary work space.|
|webapps||Has a tree structure like the equivalent statically-served web pages. Instead of *.html files, it mostly has *.jsp files. Also contains *.html, *.gif, *.png, *.jpg, *.svg etc. files served statically.|
|webapps/docs||Where to extract the documentation tar file.|
|webapps/ROOT/WEB-INF/web.xml||The Web Application Deployment Descriptor for your application. This is a *.xml file describing the Servlets and other components that make up your application, along with any initialization parameters and container-managed security constraints that you want the server to enforce for you. This lets your clients use short simple names to invoke your Servlets, which may have long qualified names.|
|webapps/ROOT/WEB-INF/classes||contains any Java class files (and associated resources) required for your application, including both Servlet and non-Servlet classes, that are not combined into *.jar files. This includes your Java source to handle your custom tags. If your classes are organized into Java packages, you must reflect this in the directory hierarchy under /WEB-INF/classes/. For example, a Java class named com.mindprod.practice. MyServlet would need to be stored in a file named /WEB-INF/classes/com/mindprod/practice/ MyServlet.class.|
|webapps/ROOT/WEB-INF/jsp||contains *.tld taglib descriptor files.|
|webapps/ROOT/WEB-INF/tags||contains *.tag files.|
|webapps/ROOT/WEB-INF/lib||Contains *.jar files that contain Java class files (and associated resources) required for your application, including third party class libraries or JDBC (Java Data Base Connectivity) drivers.|
|work||Where Tomcat puts the *.java and *.class files it generates from the *.jsp files.|
|recommend book⇒Tomcat: The Definitive Guide|
|by||Jason Brittain, Ian F. Darwin||978-0-596-10106-0||paperback|
|For those who administrate the Tomcat server.|
|recommend book⇒Apache Cookbook: Solutions and Examples for Apache Administrators|
|by||Rich Bowen, Ken Coar||978-0-596-52994-9||paperback|
|This is for people who have to administer the server, not who write code to run in it.|
|recommend book⇒Apache: The Definitive Guide, third edition|
|by||Ben Laurie, Peter Laurie||978-0-596-00203-9||paperback|
|For Apache administrators.|
This page is posted
Optional Replicator mirror
|no blog for this page||Canadian
Your face IP:[220.127.116.11]
You are visitor number|