Tomcat Installation, Configuration, and Performance Optimization Guide
Tomcat 8.5.24 Reference
Prerequisites
This guide uses Tomcat 8.5.24 with JDK 1.8+. Ensure your Java environment meets these requirements before proceeding.
Overview
What is Tomcat
Tomcat is an open-source Servlet container developed by the Apache Software Foundation. It implements the Servlet and JSP specifications while providing additional ...
Posted on Tue, 22 Sep 2026 16:32:43 +0000 by ViN86
Building a Hello World Web Application with Spring Boot
Advantages of Using Spring Boot
Spring Boot simplifies Java web development by providing an opinionated, production-ready setup. Key benefits include:
Embedded servlet containers like Tomcat, eliminating the need for WAR file deployment.
Streamlined dependency management and Maven/Gradle configuration.
Minimal to zero XML configuration, enabli ...
Posted on Sat, 19 Sep 2026 16:34:47 +0000 by crickettdt
Deploying Java Web Projects on Linux with JDK, Tomcat, and MySQL Setup
JDK Installation and Environment Configuration
Create a target directory for installation packages and transfer the compressed JDK archive into it via the virtual machine's shared folder interface. Verify the upload using:
cd javaCloudJun/software
pwd
ll
Edit the system-wide profile to expose the JDK binaries:
vim /etc/profile
Append these li ...
Posted on Mon, 14 Sep 2026 16:22:12 +0000 by adnanhb
Apache Tomcat Installation, Configuration, and Deployment Guide
Environment Setup and Installation
1. Deploying Java Environment
Install the OpenJDK runtime environment using the system package manager.
yum install java-1.8.0-openjdk -y
java -version
2. Installing Tomcat
Download the binary distribution from the Apache mirror, extract it, and configure the environment variables.
mkdir -p /data/software
cd ...
Posted on Fri, 11 Sep 2026 16:12:20 +0000 by piyushsharmajec
Tomcat and Servlet: Processing Requests and Generating Responses
Application Context Path Configuration
When deploying web applications through an IDE, the default access URL often includes the _war_exploded suffix. To create a cleaner URL path, you need to modify the Application Context setting.
The Application Context defines the web application's root path on the server. To change it, locate the deploymen ...
Posted on Wed, 09 Sep 2026 15:59:57 +0000 by TheIceman5
End-to-End Workflow for Migrating Java Applications to Kubernetes
Prerequisites and Environment Setup
Begin by verifying network connectivity between your build environment and the target database. Install the required Java Development Kit (JDK) and Maven compiler toolchain using your system's package manager.
sudo yum install java-11-openjdk-devel maven -y
Application Configuration and Compilation
Update t ...
Posted on Tue, 08 Sep 2026 16:32:16 +0000 by damienmcd
Understanding Servlets in Web Development
Understanding Servlets in Web Development
Basic Introduction
Tomcat serves as a fundamental tool in Java server development, as all developed servers must be deployed on Tomcat. It acts as the foundation for all servers. To better handle HTTP operations, Tomcat encapsulates the native APIs into Servlets, which allows developers to efficientl ...
Posted on Fri, 04 Sep 2026 16:34:18 +0000 by jonki
How Tomcat Manages Request Object Reuse
When analyzing the risks of passing the Request object into asynchronous threads, a critical question emerges: is the reused Request bound to a specific thread?Logging the hash codes of Request objects across multiple HTTP calls handled by different threads from the pool reveals that the same Request instance can be accessed by distinct threads ...
Posted on Fri, 04 Sep 2026 16:06:34 +0000 by miancu
SpringBoot Application Packaging and Deployment Guide
This guide covers SpringBoot packaging configurations and deployment procedures with solutions for common issues.
Maven-Based Packaging
JAR Package Configuration
In pom.xml, specify the packaging type:
<packaging>jar</packaging>
WAR Package Configuration
For WAR deployment in external Tomcat, configure in pom.xml:
<packaging> ...
Posted on Wed, 02 Sep 2026 16:34:46 +0000 by fdost
Setting Up OpenGrok on a Linux System
Install ctags dependencies
sudo apt install autoconf automake
Clone the universal-ctags repository
git clone https://github.com/universal-ctags/ctags.git
Compile and install ctags
cd ctags
./autogen.sh
./configure
make
sudo make install
Note: If the installation fails, you can copy the binary version of ctags to /usr/local/bin. 5. Dow ...
Posted on Wed, 02 Sep 2026 16:09:58 +0000 by Gabriel_Haukness