1 | <html><head><META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Application Developer's Guide - Introduction</title><meta value="Craig R. McClanahan" name="author"><meta value="craigmcc@apache.org" name="email"></head><body vlink="#525D76" alink="#525D76" link="#525D76" text="#000000" bgcolor="#ffffff"><table cellspacing="0" width="100%" border="0"><!--PAGE HEADER--><tr><td><!--PROJECT LOGO--><a href="http://tomcat.apache.org/"><img border="0" alt=" |
---|
2 | The Apache Tomcat Servlet/JSP Container |
---|
3 | " align="right" src="../../images/tomcat.gif"></a></td><td><font face="arial,helvetica,sanserif"><h1>Apache Tomcat 6.0</h1></font></td><td><!--APACHE LOGO--><a href="http://www.apache.org/"><img border="0" alt="Apache Logo" align="right" src="../../images/asf-logo.gif"></a></td></tr></table><table cellspacing="4" width="100%" border="0"><!--HEADER SEPARATOR--><tr><td colspan="2"><hr size="1" noshade></td></tr><tr><!--RIGHT SIDE MAIN BODY--><td align="left" valign="top" width="80%"><table cellspacing="4" width="100%" border="0"><tr><td valign="top" align="left"><h1>Application Developer's Guide</h1><h2>Introduction</h2></td><td nowrap="true" valign="top" align="right"><img border="0" hspace="0" vspace="0" height="1" width="1" src="../../images/void.gif"></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Overview"><strong>Overview</strong></a></font></td></tr><tr><td><blockquote> |
---|
4 | |
---|
5 | <p>Congratulations! You've decided to (or been told to) learn how to |
---|
6 | build web applications using servlets and JSP pages, and picked the |
---|
7 | Tomcat server to use for your learning and development. But now what |
---|
8 | do you do?</p> |
---|
9 | |
---|
10 | <p>This manual is a primer covering the basic steps of using Tomcat to |
---|
11 | set up a development environment, organize your source code, and then |
---|
12 | build and test your application. It does not discuss architectures or |
---|
13 | recommended coding practices for web application development, |
---|
14 | or provide in depth instructions on operating the development |
---|
15 | tools that are discussed. References to sources of additional information |
---|
16 | are included in the following subsections.</p> |
---|
17 | |
---|
18 | <p>The discussion in this manual is aimed at developers who will be using |
---|
19 | a text editor along with command line tools to develop and debug their |
---|
20 | applications. As such, the recommendations are fairly generic -- but you |
---|
21 | should easily be able to apply them in either a Windows-based or Unix-based |
---|
22 | development environment. If you are utilizing an Interactive Development |
---|
23 | Environment (IDE) tool, you will need to adapt the advice given here to |
---|
24 | the details of your particular environment.</p> |
---|
25 | |
---|
26 | </blockquote></td></tr></table><table cellpadding="2" cellspacing="0" border="0"><tr><td bgcolor="#525D76"><font face="arial,helvetica.sanserif" color="#ffffff"><a name="Links"><strong>Links</strong></a></font></td></tr><tr><td><blockquote> |
---|
27 | |
---|
28 | <p>The following links provide access to selected sources of online |
---|
29 | information, documentation, and software that is useful in developing |
---|
30 | web applications with Tomcat.</p> |
---|
31 | <ul> |
---|
32 | <li><a href="http://java.sun.com/products/jsp/download.html">http://java.sun.com/products/jsp/download.html</a> - |
---|
33 | <i>JavaServer Pages (JSP) Specfication, Version 2.0</i>. Describes |
---|
34 | the programming environment provided by standard implementations |
---|
35 | of the JavaServer Pages (JSP) technology. In conjunction with |
---|
36 | the Servlet API Specification (see below), this document describes |
---|
37 | what a portable API page is allowed to contain. Specific |
---|
38 | information on scripting (Chapter 6), tag extensions (Chapter 7), |
---|
39 | and packaging JSP pages (Appendix A) is useful. The Javadoc |
---|
40 | API Documentation is included in the specification, and with the |
---|
41 | Tomcat download.<br><br></li> |
---|
42 | <li><a href="http://java.sun.com/products/servlet/download.html">http://java.sun.com/products/servlet/download.html</a> - |
---|
43 | <i>Servlet API Specification, Version 2.4</i>. Describes the |
---|
44 | programming environment that must be provided by all servlet |
---|
45 | containers conforming to this specification. In particular, you |
---|
46 | will need this document to understand the web application |
---|
47 | directory structure and deployment file (Chapter 9), methods of |
---|
48 | mapping request URIs to servlets (Chapter 11), container managed |
---|
49 | security (Chapter 12), and the syntax of the <code>web.xml</code> |
---|
50 | Web Application Deployment Descriptor (Chapter 13). The Javadoc |
---|
51 | API Documentation is included in the specification, and with the |
---|
52 | Tomcat download.<br><br></li> |
---|
53 | <li><a href="http://java.sun.com/j2ee/blueprints/">http://java.sun.com/j2ee/blueprints/</a> - |
---|
54 | <i>Sun BluePrints (tm) Design Guidelines for J2EE</i>. Comprehensive |
---|
55 | advice and examples on application design for the Java2 Enterprise |
---|
56 | Edition (J2EE) platform, which includes servlets and JSP pages. The |
---|
57 | chapters on servlet and JSP design are useful even when your application |
---|
58 | does not require other J2EE platform components. |
---|
59 | <br><br></li> |
---|
60 | <li><b>TODO</b> -- Add more entries here!</li> |
---|
61 | </ul> |
---|
62 | |
---|
63 | </blockquote></td></tr></table></td></tr><!--FOOTER SEPARATOR--><tr><td colspan="2"><hr size="1" noshade></td></tr><!--PAGE FOOTER--><tr><td colspan="2"><div align="center"><font size="-1" color="#525D76"><em> |
---|
64 | Copyright © 1999-2008, Apache Software Foundation |
---|
65 | </em></font></div></td></tr></table></body></html> |
---|