Programming Tutorials Browser Tutorials Articles Struts Tutorials Hibernate Tutorials

Search: 

  Tutorial: Boost Tomcat performance for static content

PippoProxy offers an alternative to standard Apache-Tomcat implementations. PippoProxy is a 100 percent pure Java HTTP proxy designed and implemented for Tomcat that can be used instead of standard Apache-Tomcat solutions.

Tutorial Details:

Protecting corporate internal networks from hackers, thieves, or high load traffic is a common concern. A typical security measure consists of placing an intermediary Web server, known as an HTTP(S) proxy server, between the Internet and the internal network for controlling access. Such an intermediary Web server forwards HTTP(S) requests from clients to other servers, making those requests look like they originated from the proxy server and vice versa (reverse proxy).

Malicious users or excessive traffic load are just two good reasons for controlling access to internal servers. More generally, they are two application scenarios of the well-known structural design pattern Proxy, or Surrogate, whose intent, according to the Gang of Four, (GoF) is to \"provide a surrogate or placeholder for another object to control access to it.\" Obviously such a surrogate adds a cost in terms of complexity. Complex systems are more difficult to understand and any modification is made harder by added complexity. So, why should we pay such a complexity fee? Typical reasons are:


Performance: You will eventually have to provide temporary cached instances of resources to multiple clients that share them (Cache Proxy design pattern). For example, this approach makes sense for static content (images, Javascripts, Cascading Style Sheets, static HTML pages).

Security: You will eventually have to control access to resources (Protection Proxy). Typically, the proxy server is placed outside the main corporate firewall in the so-called demilitarized zone, while proxied servers are placed inside the firewall in the so-called militarized zone. Furthermore, you will eventually have to provide clients with different levels of access (Protection Access Proxy). For instance, in banking applications, clients may have different levels of access to financial reports.

Scalability: As traffic load increases, you will eventually have to add more application servers to maintain good performance, or you might need some kind of automatic failover in case one of the nodes breaks.

Audit: You will eventually have to count the number of accesses or trace access details to requested references (Smart Reference Proxy). For instance, this approach is common in banner advertising applications.
When such complexity is necessary in an application, PippoProxy, a Java HTTP proxy designed and implemented for Tomcat, can be used in place of standard Apache-Tomcat solutions. This article presents the rationale behind the development of PippoProxy, the need for this type of proxy, and its advantages over more traditional proxies. In addition, PippoProxy\'s typical deployment scenarios and comparison benchmarks to more traditional solutions are presented.

Typical Apache-Tomcat proxy configurations
The standard Apache-Tomcat proxy configuration places an Apache (proxy) HTTP server before the Tomcat application servers in a \"neutral zone\" between the company\'s private network and the Internet (or some other outside public network) for secure access to the company\'s private data. This proxy server also acts as a load balancer and as a server of static content. Figure 1 shows such a configuration scenario.


 

Read Tutorial at: Click here to view the tutorial

Rate Tutorial:
Boost Tomcat performance for static content

View Tutorial:
Boost Tomcat performance for static content

Related Tutorials:

Displaying 1 - 50 of about 1605 Related Tutorials.

Include Static HTML Page in JSP
Include Static HTML Page in JSP Include Static HTML...;     This example shows how to include static...;title>Include Static Page</title></head>     <body
 
Techniques used for Generating Dynamic Content Using Java Servlets.
Techniques used for Generating Dynamic Content Using Java Servlets... used for Generating Dynamic Content...;    For any web application high performance
 
Open Source content Management System
Open Source Content Management System s Open Source content Management System The Open Source Content Management System OpenCms is a professional level Open Source Website Content Management System
 
Configuring Struts DataSource Manager on Tomcat 5
Configuring Struts DataSource Manager on Tomcat 5 Configuring Struts DataSource Manager on Tomcat 5... on the Tomcat 5.5.9 server. We will use struts 1.2.7 in this tutorial. In this tutorial we
 
Configuring Struts DataSource Manager on Tomcat 5
Configuring Struts DataSource Manager on Tomcat 5 Configuring Struts DataSource Manager on Tomcat 5... on the Tomcat 5.5.9 server. We will use struts 1.2.7 in this tutorial. In this tutorial we
 
Open Source Content Management
Open Source Content Management Open Source Content Management Introduction to Open Source Content Management Systems...;   Open-source content management systems The field of content
 
JSF Installation on Tomcat
JSF 1.2 tomcat,Tomcat JSF 1.2,Tomcat JSF Support,Tomcat JSF 1.2 JSF Installation on Tomcat     ... will explain you how to install  JSF 1.2 on tomcat server. We will develop
 
Static Parameter
Struts Resource,Static Parameter,Static Parameter in Struts 2,Struts 2 Static Parameter Static Parameter     ... will develop a simple application to access the static parameters. We will use a JavaBean
 
Content Panes
Java: Content Panes Java: Content Panes Description Before Java 2 each top-level... several layers (panes): root, content, layered, and glass. Programs normally
 
Web Performance Analyzer
Web Performance Analyzer Web Performance Analyzer...;   Web Performance Analyzer Web Performance Analyzer... you to measure, analyze, estimate and track baseline web page performance
 
Sysdeo Tomcat Launcher Plugin
Sysdeo Tomcat Launcher Plugin Sysdeo Tomcat... and stopping Tomcat 4.x, 5.x and 6.x Registering Tomcat process...) Adding Java Projects to Tomcat classpath Setting Tomcat
 
Example of static method
Java Static Methods,Java Static Class Example,Code of Java Static Method Example of static method   ... programming example will teach you the way to define a static methods. In java we have
 
Tomcat Books
Tomcat Books Tomcat Books   ...; The Definitive Guide for Tomcat Tomcat: The Definitive Guide offers something for everyone who uses Tomcat. System and network administrators will find
 
Static/Class methods
Java: Static/Class methods... of that object. This is the default. Static methods use... define a method to be static, you will be given a rude message
 
Tomcat an Introduction
Tomcat an Introduction Tomcat an Introduction...; Apache Tomcat:  Apache Tomcat server is one of the most popular open... on a web server provided by Apache Software Foundation.  Tomcat adds tools
 
Content Writer
Content Writer Content Writer...; Position Vacant: Content Writer  Job Description  You will be writing and developing the content for our article website http
 
Write date servlet and test on tomcat
that comes from the response object this sets the content type of the response that is text/html i.e. standard MIME content type of the Html pages. The MIME
 
Deployment in Tomcat 6.0
Deployment in Tomcat 6.0 Deployment in Tomcat 6.0...; ?<ARTIFACTORY_INSTALLATION _FOLDER>/webapp? to ?<TOMCAT_INSTALLATION... and Tomcat 6.0. Tomcat detects the web application and deploy it.  Once
 
Tomcat Web Server
Tomcat Web Server Tomcat Web Server...; Introduction to the Tomcat web server Tomcat is an open source web server developed by Apache Group. Apache Tomcat is the servlet container
 
Introduction to the Tomcat web server
Tomcat Web Server Introduction to the Tomcat web...;   Tomcat is an open source web server developed by Apache Group. Apache Tomcat is the servlet container that is used in the official
 
Squaring of two number in Static class
in Static class         ...;     In this section we will learn how to use static method and how can display multiplication of two any number. The static method
 
Merve Tomcat Launcher Eclipse Plugin
Merve Tomcat Launcher Eclipse Plugin Merve Tomcat...-In for running web applications with Apache Tomcat. Merve includes already Tomcat Embedded. Alternatively use your own preinstalled Tomcat version. Merve supports
 
Tomcat Web Server
Tomcat Web Server Tomcat Web Server...; Introduction to the Tomcat web server Tomcat is an open source web server developed by Apache Group. Apache Tomcat is the servlet container
 
Blog Content Writer
Blog Content Writer Blog Content Writer...; Position Vacant: Blog Content Writer  Job Description  You will be writing and developing the content for our article
 
Installing JSF 1.1 in TOMCAT 5.5.23
Installing JSF 1.1 in TOMCAT 5.5.23 : Installing JSF 1.1 in TOMCAT 5.5.23      ... will learn about installation of JSF 1.1 to TOMCAT 5.5.23. Java Server Faces (JSF
 
Content Writing Job
Content Writing Job,web Writing job,content developement job Content Writing Job      ...;        In the field of Content
 
Access Static Member Of The Class Through Object
Access Static Member Of The Class Through Object Access Static Member Of The Class Through Object   ...;            Static methods
 
Apache Tomcat Training
Tomcat Training, Apache Tomcat Training, Tomcat Training in India Apache Tomcat Training    ...;  Description of Apache Tomcat Server  Tomcat
 
Freelance Blog Content Writer
Freelance Blog Content Writer Freelance Blog Content Writer          ...;    Position Vacant: Freelance Blog Content Writer
 
Freelance Content Writer
Freelance Content Writer Freelance Content Writer...;  Position Vacant: Freelance Content Writer Job... and develop the content for our article website http://www.huntarticles.com/ and many
 
jQuery Load Content
jQuery Load Content jQuery Load Content...; In this section you will learn how to load content of a text file using jQuery and show it on the use browser. This example shows you how to load the content
 
Guide to download and install Tomcat 6
Guide to download and install Tomcat 6 Guide to download and install Tomcat 6        ...;      Downloading and installing tomcat
 
Example of a class variable (static variable)
Java Static Variable Example, Static Variable in Java Example of a class variable (static variable)   ... programming example will teach you how you can define the static class variable
 
Add Content of an iText PDF File using java code
Add Content of an iText PDF File using java code Add Content of an iText PDF File using java code   ... com.lowagie.text.pdf.PdfContentByte; public class CreatePDFiText { public static void main(String[] args
 
BI: Improving performance in financial service
BI: Improving performance in financial service GPS Capability,GPS Capabilities BI: Improving performance in financial... management is the evaluation of company by rating agency as the performance
 
Locate a Node and Change Its Content
Locate a Node and Change Its Content     ... how to Change the Content of a node in a DOM document. JAXP (Java API for XML...;@Program that Locate a Node and Change Its Content
 
Tomcat For Eclipse
Tomcat For Eclipse Tomcat For Eclipse... It: Create a java project In the java project properties select 'Tomcat... the webapp launch Tomcat if it is not running. No more check
 
Test Performance Tools Platform (TPTP) Training
Test Performance Tools Platform (TPTP) Training Test Performance Tools Platform (TPTP) Training   ... stands for Test & Performance Tools Platform. This tool enables
 
JSF Static Navigation Example
JSF Static Navigation Example JSF Static Navigation... about the JSF Static navigation which makes the direct navigation between two or more pages. There is an example of Static Navigation in JSF has been implemented
 
Creating Web application on tomcat server
Create your first Tomcat Web application Create your first Tomcat Web application       ... how to create first web application using Servlet on the tomcat server. 
 
Font Selection
. This example uses the static font name for the pdf content particularly by using... content and the font name has to be mentioned in the java code during the creation of the pdf whether it is static (hard-coded) or dynamic. Here
 
Jboss 3.2 EJB Examples
;     Using separate tomcat 4 & databases... and open-source. We can now add Jboss3.2 and Tomcat also to the list and thus we can use servlet/jsp in Tomcat and connect to EJB (all types) which
 
Hibernate 3.1.3 Released
performance object/relational persistence and query service. Hibernate lets you develop... * [HHH-1236] - Remove static reference to classloader, to avoid memory leak
 
Navigating Artifactory
;  Start Tomcat, open the browser and navigate http://localhost... in username as 'admin' and password as 'password'. You can view the content... artifacts in repository. If tomcat is not required then we can use the included
 
ContentPane or Content Pain?
Java: ContentPane or Content Pain? Java NotesContentPane or Content Pain? JFrames (and your subclasses of them) have a content pane, which is where you add components, which
 
Collections Framework Enhancements
; In Collection framework, we are able to improve the performance hashing function... NewDeque { public static void main(String s[])throws IOException...); } static void show(ArrayDeque<String> dqname) { Iterator<
 
Show content of .vm file as output using Velocity
Show content of .vm file as output using Velocity Show content of .vm file as output using Velocity    ...; This Example shows you how to display content of .vm file using velocity and also shows how
 
Course Content Development Job
Course Content Development Job,Course Developement Course Content Development Job     ... need to development online course content for various subjects in IT such as Web
 
Tomcat Quick Start Guide
Tomcat Quick Start Guide Tomcat Quick Start Guide... and very fast tomcat jsp tutorial, you will learn all the essential steps need to start quickly with JSP on the tomcat server. We assume that you are familiar
 
Tutorials - Java Server Pages Technology
the dynamic content for insertion within static templates. Benefits of JSP... dynamic content from static template display data. Another benefit... platform technology for delivering dynamic content to web clients
 
Site navigation
 

 

Send your comments, Suggestions or Queries regarding this site at roseindia_net@yahoo.com.

Copyright © 2006. All rights reserved.