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.

Get Java Extreme Programming Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.