How to source, install, configure and support Apache httpd and Apache Tomcat
for the deployment of Java Web Applications.
Duration: 2 days
• Price: $1270.00 or £790.00 +VAT
(with hotel room), or
$1050.00 or £650.00 +VAT
(without room), •
Venue: Melksham, England
COURSE START DATES
Usually scheduled to meet customer needs or run as a private course. Please email for details
This course is intended for staff who'll be responsible
for the installation, support and maintenance of Web applications
written in Java. The course starts with a brief review of the
stucture of Java, including the Java Runtime Environment, and a brief
review of HTML before leading on to the main topics.
Apache is the most used Web Server worldwide; it's available for free
(Open Source) and bristling with facilities. On the course, we download,
install and test apache. We configure Apache, including virtual host
support, access security, MIME type handling, and add modules to support
extra facilities. We also cover error handling and log file analysis.
Tomcat is also Open Source. It provides a container for the deployment of
Java based Web applications and can function both as a web server in its own
right, and in conjunction with other servers such as Apache and IIS. We start
the Tomcat section of this course by overviewing Tomcat, and then move on
to sourcing installing and testing it. Tomcat is highly configurable at a
variety of levels, and we'll study the deploying of Web Applications through
their own directories, through .war files, and through the overall Tomcat
You'll need some knowledge of the structure of the web and the
operating system (Windows, Linux or Unix) on which you're going to deploy
your Java application prior to this course. You can learn these skills for Linux on our Linux Basics
and Linux Administration
Getting the most from your Well House Consultants course
Apache httpd and Apache Tomcat are two web servers which, when used
together, provide a flexible, stable and configurable platform for organisations
to deploy web based applications written in Java. You'll find the two servers
in use together on many large scale services - commercial, educational,
voluntary sector, research and governmental.
Web, Web application, HTML and XHTML background
|Java Application - Deployment on the Web (module A099) Server System Components.
User activated components.
Development and installation components.
Data management and other components.
Responsibilities that must be assigned.
Software and versions used in these notes.
Files you might need to download (Windows XP).
Browsers that we have tested with.
|HTML - An Overview (module Q624) Tags.
Structure of a page.
Special characters and new lines.
Some common tags.
Lists, tables, etc..
Which HTML standard?.
Validating your page.
|Commercial and Legal Aspects (module A213) Why discuss this on a technical course?.
Data Protection Act, 1998.
Freedom of Information Act, 2000.
Privacy and credit card security.
Unsolicited commercial emailing and mailing lists.
Other content issues.
Who is the publisher?.
Registration agencies - the shady dealers.
Backups and security.
Ease of use.
Marketing and visibility.
Elements of Java for Deployment
|Java - Basic Tools (module A502) Compiling and running Java programs.
Applications with multiple classes.
Examining Java files and classes.
Reference: Options to the Java utility commands.
|Introduction to Ant (module J910) Downloading and Installing Ant.
A first use of Ant.
The build file.
Further aspects of Ant.
The Apache httpd web server
|Apache httpd - an overview (module A601) What is Apache?.
Apache httpd capabilities.
Authentication and secure service.
Other Web Servers.
|Apache httpd - Sourcing, Installation, Testing (module A602) Sourcing Apache httpd.
The user account under which to run the web server.
The address of the web site administrator.
Changing the location of files on the web site.
Allowing more than just serving files!.
Allowing individual users their own web sites.
Configuring log files.
Setting up a separate cgi-bin directory.
Changing your error report pages.
Getting server status reports through the web.
Installing and Configuring httpd on Windows.
Testing your installation.
Testing the basic web directory and home page location.
Testing the userŐs home directory web sites are working.
Testing the server status and server info pages.
Testing your error page.
Testing for the presence and operation of a PHP script.
Testing for the presence and operation of server side includes.
Testing the operation of a .cgi program (written in Perl).
Testing the cgi-bin directory.
Testing wider services.
|Further httpd Configuration (module A603) Automatic Start-up.
Name-based Virtual Hosts.
IP-based virtual hosts.
|Apache httpd - virtual hosts (module A604) Virtual Hosts.
Setting up so the browser can see multiple hosts.
Configuring virtual hosts.
|Apache httpd - log files and log tools (module A606) Configuring the access and error logs.
making logs available to the web site owner.
Tools to analyse log files.
The Apache Tomcat web server
|Tomcat Overview (module A651) What is Tomcat?.
The structure of Tomcat.
|Tomcat -Sourcing, Installing and Initial Testing (module A652) Sources of Tomcat.
Prerequisite - Java Software Development Kit.
Download and install (of Tomcat) from jakarta.apache.org, binary.
Download and install from jakarta.apache.org, source.
Pre-requisite - Ant.
Starting and initial testing of Tomcat from jakarta.apache.org.
Under Linux and Unix.
Using SunŐs Web Server DeveloperŐs Pack.
Installing Tomcat when downloaded from java.sun.com.
Initial testing of Tomcat.
|Tomcat - Configuring Web Applications (module A653) Installing a flat files example in /webapps/.
A more complex application in a /webapps/ folder.
Installing a Java Server Page in /webapps/.
An example that reads from a form.
An example with error checking, and with the form within the JSP.
Deploying a Servlet in /webapps/.
A Servlet with form data.
Using a JSP to access a class.
Installing via a WAR file.
Installing Servlets from the server.xml file.
|Configuring and Controlling Tomcat (module A654) Switching Tomcat to another (OS) user account.
Automatic start-up and shutdown.
The server.xml configuration file.
Running Tomcat as your only (or main) web server.
The Manager and Admin application.
The Manager Application.
The Admin Application.
Changing TomcatŐs home page.
|Using Tomcat and Apache httpd Together (module A655) Do I run both Apache httpd and Apache Tomcat?.
Using two separate server daemons on a single host.
Connecting via a proxy from Apache to Tomcat.
Setting up httpd to act as a proxy.
Setting up Tomcat to handle proxied requests from httpd.
Running Tomcat from httpd with jk2 with AJP.
Installing and configuring mod_jk2 in httpd.
Other deprecated connectors.
|More Tomcat Configuration (module A656) Configuration files in the conf directory.
Modifying your Jasper configuration.
Logging Tomcat Activity.
Adding and tailoring access logs.
Applications that log.
|Using httpd to front Tomcat (module A657) The Tomcat connector story.
Apache, Apache httpd and Apache Tomcat.
Do I need both servers?
How are the tasks divided?
jk connector and configuring jk.
A practical complete installation.
|Tomcat - Extra Features (module A900) Running a secure service through https.
Changes to server.xml.
A note on https.
Server testing through wget.
Clustering and load balancing.
Setting up a cluster.
The current state of clustering.
Load balancing - an alternative.
TUTOR and COURSE AUTHOR
Graham Ellis - firstname.lastname@example.org
] [about Graham
, England. A taxi transfer can be arranged if you'll be arriving by air
from United States.
can be arranged on site in your country.
Public courses run at
Well House Manor
- our own
purpose fitted training centre and business hotel / conference centre in
• Download Melksham Map - [pdf file (750k)
] • Google Map - [Link
|| 2 students
|| 3 students
|| For 4 or more students
from the same company,
please consider a private course.
| With hotel room
($1524.00 inc VAT) or
(£948.00 inc VAT)
($1260.00 inc VAT) or
(£780.00 inc VAT)
| With hotel rooms
($2988.00 inc VAT) or
(£1836.00 inc VAT)
($2460.00 inc VAT) or
(£1500.00 inc VAT)
| With hotel rooms
($4452.00 inc VAT) or
(£2724.00 inc VAT)
($3660.00 inc VAT) or
(£2220.00 inc VAT)
• Multiple discount applies to bookings for second and subsequent delegates on the same running of a course, and on same order.
• Hotel rooms are available for arrival the night before the course starts, for departure after the end of the course on the last day.
Upon completion of your course, you'll have online access to the source code of
all the examples from the course, and you'll have access to the
"Ask the Tutor" forum
where you can raise questions. We also encourage you to email the tutor, and
to visit us again to use our library as appropriate.
Certification? - [Link
FOR FURTHER INFORMATION
Public (scheduled) courses
For more information about our public courses in general, such as class size, course times, materials provided, special requests, accommodation list, finding our centre, etc.
Terms and Conditions
Covering topics such as delegate substitution, payment, cancellation policy and other matters.