Server User Manual

Table Of Contents
Chapter 10: Using JBuilder with Tomcat 93
Chapter
10
Chapter 10Using JBuilder with Tomcat
Web Development is a
feature of JBuilder
Developer and
JBuilder Enterprise
Both Java servlets and JavaServer Pages (JSP) run inside web servers. Tomcat, the
JavaServer Pages/Java Servlets reference implementation, is included with JBuilder.
Although it might differ from your production web server, Tomcat allows you to develop
and test your servlets and JSPs within the JBuilder development environment. This
chapter explains how to work with Tomcat running inside JBuilder.
When you install JBuilder, two versions of Tomcat, 4.1.30 and 5.0.27, are automatically
installed in your JBuilder directory. By default, they are automatically configured. You
can examine the configuration with the Configure Servers dialog box (Enterprise|
Configure Servers).
Tomcat 4.is the JDK 1.4 Lightweight Edition. This edition does not contain an XML
parser (JDK 1.4 has one built in) and a few other publicly available components. You
can download the full edition from
http://jakarta.apache.org/ and use the Configure
Servers dialog box to point to it.
In JBuilder Enterprise, Tomcat 5.0 is the default server. To change the default for your
project, see Setting up servers within JBuilder on page 20. Tomcat 5.0 supports JSR-
45, allowing you to debug non-Java source, both locally and remotely. For more
information, see Debugging non-Java source in Building Applications with JBuilder.
Tip If you want to use an earlier version of Tomcat, you can download the binary
distribution locally and use the Configure Servers dialog box (Enterprise|Configure
Servers) to configure it.