This section provides an overview of what tomcat is, and why a developer might want to use it.
It should also mention any large subjects within tomcat, and link out to the related topics. Since the Documentation for tomcat is new, you may need to create initial versions of those related topics.
The list of available attributes is extensive and fully covered in Tomcat's JDBC Connection Pool reference documentation. Only the attributes used in the examples above are covered in the parameters section here.
Many locations in reference documentation refer to use of DBCP connection pools. The history on which connection pool implementation is actually being used in Tomcat, by default, is complex and confusing. It depends on specific version of Tomcat being used. It's best to specify the factory explicitly.
Host Manager is a web application inside of Tomcat that creates/removes Virtual Hosts within Tomcat.
A Virtual Host allows you to define multiple hostnames on a single server, so you can use the same server to handles requests to, for example, ren.myserver.com
and stimpy.myserver.com
.
Unfortunately documentation on the GUI side of the Host Manager doesn't appear to exist, but documentation on configuring the virtual hosts manually in context.xml
is here:
http://tomcat.apache.org/tomcat-7.0-doc/virtual-hosting-howto.html.
The full explanation of the Host
parameters you can find here:
http://tomcat.apache.org/tomcat-7.0-doc/config/host.html.
Adapted from my answer: http://stackoverflow.com/a/26248511/6340
Utilizing JNDI and JDBC also affords you to use ORMs like Hibernate or platforms like JPA to define "persistence units" for object and table mapp