原创 Tomcat-3 A Simple Web Server
Excerpted from <How Tomcat works> A web application server must stand by all time as it does not know when a client app
原创 Tomcat-6 HTTP 1.1
This topic, we will start with three new features in HTTP 1.1 understanding them is crucial to understanding the intern
原创 Tomcat-7 Tomcat Default Connector
A Tomcat connector is an independent module that can be plugged into a servlet container. There are already many connec
原创 Tomcat-5 A simple Connector
There are two modules in Catalina: the connector and the container. In this topic you we will enhance the applications
原创 Essentials of JMX API - MXBeans
An MXBean is a new type of MBean that provides a simple way to code an MBean that only references a pre-defined set of
原创 Bit movement operation
public static void main(String[] arg) { for(int i=1; i<=18; i++) { System.out.println(i+":"+(1<<i)
原创 Tomcat(8-2) The Wrapper Application
The wrapper application demonstrates how to write a minimal container module. The wrapper wraps the ModernServlet tha
原创 Tomcat-4 A Simple Servlet Container
This chapter explains how you can develop your own servlet container by presenting two applications. The first applicat
原创 Tomcat(8) Container
A container is a module that processes the request for a servlet and populates the response object for web client. A co
原创 Facade Pattern
Facades are all around us in the real world. Operating System are one such example - you don't see all the inner workin
原创 How A Servlet container Works
A servlet container is a complex system. However, basically there are three things that a servlet container does to ser
原创 Singleton Pattern
Singleton Pattern 收藏 This is one of the most commonly used patterns. Make the class of the single instance object r
原创 Essentials of JMX API - Standard MBeans
This topic introduces the fundamental notion of the java management extensions (JMX) API, namely managed beans, or MBea
原创 Data type conversion
Convert byte array to hexadecimal // Read data from binary file into input stream, read byte from input stream, conver