O'Reilly logo

Java Extreme Programming Cookbook by Brian M. Coyner, Eric M. Burke

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. Tomcat and JBoss

Introduction

Tomcat, available from http://jakarta.apache.org/tomcat, is an open source servlet container and the official reference implementation for Java Servlet and JavaServer Pages technologies. Table 10-1 shows Tomcat versions and the specification that each version adheres to. All recipes in this chapter assume Tomcat 4.1.x.

Table 10-1. Tomcat versions and specifications

Tomcat version

Servlet specification

JSP specification

5.0.x (Not yet released)

2.4 (Work-in-progress at Sun)

2.0

4.1.x

2.3

1.2

3.3.1

2.2

1.1

JBoss, available from http://www.jboss.org , is an open source EJB container. JBoss is extremely specification-compliant, making it well suited for application-server neutral development. JBoss also supports hot deploying applications, including web application WAR files. JBoss is not a servlet container. JBoss can embed a servlet container, though. For example, you can configure JBoss to use Tomcat.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required