The JavaTM Web Services Tutorial
Home
TOC
PREV TOP NEXT

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
Checking the Environment Variables
Creating the Build Properties File
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 the Application Deployment Tool
Running the Getting Started Application
Running the Web Client
Shutting Down Tomcat
Using admintool
Adding Roles Using admintool
Adding Users Using admintool
Modifying the Application
Modifying a Class File
Modifying the Web Client
Common Problems and Their Solutions
Compilation Errors
Deployment Errors
Home
TOC
PREV TOP NEXT