1. Introduction In this example we will discuss Apache Tomcat Servlet/JSP container’s clustering and session replication related configurations. Apache Tomcat server is lightweight server that is relatively easy to set-up. It has many features that enable high flexibility. Tomcat can be fine-tuned to do well for some traffic, but if your traffic is expected to be large you may need ...
Read More »Home »
Tomcat connection pool configuration example
1. Introduction In this example we will discuss Apache Tomcat Servlet/JSP container’s connection pull configuration via JNDI (Java Naming and Directory Interface ) resources. The connection pool we will look at is javax.sql.DataSource, which is a JDBC API for getting a connection instance to a database. In this example we will discuss setting a global DataSource for MySQL database. javax.sql.DataSource ...
Read More »Tomcat web.xml Configuration Example
1. Introduction In this example we will talk about Apache Tomcat Servlet/JSP container also referred to as Tomcat server and the web.xml file that provides different options to configure Tomcat. Apache Tomcat is developed as an open source software and is available under Apache License version 2. Apache Tomcat is a light server that is aimed at performance rather than ...
Read More »