Getting Started
The best way to get started with new technologies is to experiment. For example, if you do not know XSLT, you should experiment with plenty of stylesheets as you work through the next two chapters. Aside from trying out the examples that appear in this book, you may want to invent a simple XML data file that represents something of interest to you, such as your personal music collection or family tree. Using XSLT stylesheets, try to create web pages that show your data in many different formats.
Once the basics of XSLT are out of the way, servlets will be your
next big challenge. Although the servlet API is not particularly
difficult to learn, configuration and deployment issues can make it
difficult to debug and test your applications. The best advice is to
start small, writing a very basic application that proves your
environment is configured correctly before moving on to more
sophisticated examples.
Apache’s Tomcat
is probably the best servlet
container
for beginners because it is free,
easy to configure, and is the official reference implementation for
Sun’s servlet API. A servlet container is the server that runs
servlets. Chapter 6 covers the essentials of the
servlet API, but for all the details you will want to pick up a copy
of Java Servlet Programming by Jason Hunter
(O’Reilly). You definitely want to get the second edition
because it covers the dramatic changes that were introduced in
Version 2.2 of the servlet API.
Java XSLT Processor Choices
Although ...