How to source, install, configure and support Apache httpd and Tomcat
for the deployment of Java Web Applications.
Duration:
2 days • Price:
$1440.00 or £720.00 +VAT (with hotel room), or
$1200.00 or £600.00 +VAT (without room), •
Venue:
Melksham, England
COURSE START DATES
| • Thursday 24 July 2008 | • Thursday 11 September 2008 |
| • Thursday 20 November 2008 |
DESCRIPTION
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
configuration files.
PREREQUISITES
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 on our
Deploying Java Applications on Linux / Unix
course.
Getting the most from your Well House Consultants course
[
Link]
SUBJECT BACKGROUND
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.
COURSE CONTENT
Shorter description available: [Link]
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.
Data Protection Act, 1998.
Freedom of Information Act, 2000.
Privacy and credit card security.
Unsolicited commercial emailing and mailing lists.
Page content.
Copyright.
Advertising standards.
Other content issues.
Who is the publisher?.
Registration agencies - the shady dealers.
Accessibility.
Backups and security.
Attracting customers.
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.
Standard Classes.
Jars.
.war files.
Examining Java files and classes.
Reference: Options to the Java utility commands.
|
| Introduction to Ant (module J910) Downloading and Installing Ant.
Installing.
A first use of Ant.
The build file.
Dependencies.
Further aspects of Ant.
|
The Apache httpd web server |
| Apache httpd - an overview (module A601) What is Apache?.
Apache httpd capabilities.
Basic operation.
Executable programs.
Authentication and secure service.
Virtual servers.
Logs.
Other Web Servers.
|
| Apache httpd - Sourcing, Installation, Testing (module A602) Sourcing Apache httpd.
Configuring 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.
Adding Handlers.
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.
Per-directory control.
Virtual Hosts.
Name-based Virtual Hosts.
IP-based virtual hosts.
|
| Virtual Hosts with Apache httpd (module A604) Virtual Hosts.
Setting up so the browser can see multiple hosts.
Configuring virtual hosts. |
| Apache - log files and log file 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?.
Apache.
Jakarta.
Tomcat.
Catalina.
Coyote.
Jasper.
The structure of Tomcat.
|
| Tomcat -Sourcing, Installing and Initial Testing (module A652) Sources of Tomcat.
Prerequisite - Java Software Development Kit.
Downloading J2SDK.
Installing J2SDK.
Testing J2SDK.
Download and install (of Tomcat) from jakarta.apache.org, binary.
Under Windows.
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.
Under Windows.
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.
On Windows.
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.
Admin Groups.
Changing TomcatŐs home page.
Tomcat documentation.
Other sources.
|
| Using Tomcat and Apache httpd Together (module A655) Do I run both Apache httpd and Apache Tomcat?.
Connection options.
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.
Beware of double URL rewriting.
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.
server.xml.
web.xml.
Modifying your Jasper configuration.
Realms.
Logging Tomcat Activity.
Adding and tailoring access logs.
Applications that log.
Sessions.
|
| 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?
Connector principles.
Proxy connector.
jk connector and configuring jk.
A practical complete installation. |
| Tomcat - Extra Features (module A900) Running a secure service through https.
Certificate provision.
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.
Load balancing - an alternative.
|
TUTOR and COURSE AUTHOR
Graham Ellis -
graham@wellho.net [
email] [
about Graham]
VENUE
Melksham, Wiltshire
, England. A taxi transfer can be arranged if you'll be
arriving by air
from United States.
Private Courses 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
Melksham.
• Download Melksham Map - [
pdf file (750k)] • Google Map - [
Link]
PRICE
| 1 student |
2 students |
3 students |
For 4 or more students
from the same company,
please consider a private course. |
With hotel room $1440.00 ($1692.00 inc VAT) or £720.00 (£846.00 inc VAT) Without room $1200.00 ($1410.00 inc VAT) or £600.00 (£705.00 inc VAT) |
With hotel rooms $2680.00 ($3149.00 inc VAT) or £1340.00 (£1574.50 inc VAT) Without rooms $2200.00 ($2585.00 inc VAT) or £1100.00 (£1292.50 inc VAT) |
With hotel rooms $3920.00 ($4606.00 inc VAT) or £1960.00 (£2303.00 inc VAT) Without rooms $3200.00 ($3760.00 inc VAT) or £1600.00 (£1880.00 inc VAT) |
Notes:
• 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.
|
FOLLOW UPS
If you're going to be developing your own Java applications, our
Java Bootcamp or
Java Programming for the Web course will take you through from "first base" to the coding of
Web Applications.
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 "Opentalk" forum
where you can raise questions. We also encourage you to email the tutor, and
to visit us again to use our library as appropropriate.
Certification? - [
Link]
FOR FURTHER INFORMATION
Public (scheduled) courses --
http://www.wellho.net/course/ctc.html
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 --
http://www.wellho.net/net/terms.html
Covering topics such as delegate substitution, payment, cancellation policy and other matters.