The JavaTM Web Services Tutorial
Home
TOC
Index
PREV TOP NEXT
Divider

Getting Started With Tomcat

Debbie Carson

This chapter shows you how to develop, deploy, and run a simple Web application that consists of a currency conversion JavaBeans component and a Web page client created with JavaServer Pages (JSP) technology. This application will be deployed to, and run on, Tomcat, the Java Servlet and JSP container developed by The Apache Software Foundation (www.apache.org), and included with the Java Web Services Developer Pack (Java WSDP). This chapter is intended as an introduction to using Tomcat to deploy Web services and Web applications. The material in this chapter provides a basis for other chapters in this tutorial.

In This Chapter
Setting Up
Getting the Example Code
Setting the PATH Variable
Creating the Build Properties File
Quick Overview
Creating the Getting Started Application
The ConverterBean Component
The Web Client
Building the Getting Started Application Using Ant
Creating the Build and Deploy File for Ant
Compiling the Source Files
Deploying the Application
Starting Tomcat
Installing the Application using Ant
Deploying the Application Using deploytool
Running the Getting Started Application
Running the Web Client
Shutting Down Tomcat
Using admintool
Understanding Roles, Groups, and Users
Adding Roles Using admintool
Adding Users Using admintool
Modifying the Application
Modifying a Class File
Modifying the Web Client
Common Problems and Their Solutions
Errors Starting Tomcat
Compilation Errors
Deployment Errors
Further Information
Divider
Home
TOC
Index
PREV TOP NEXT
Divider

This tutorial contains information on the 1.0 version of the Java Web Services Developer Pack.

All of the material in The Java Web Services Tutorial is copyright-protected and may not be published in other works without express written permission from Sun Microsystems.