eBooks from Ian Darwin
All books and eBooks by Ian Darwin:
Java Cookbook
by Ian Darwin
Chapter 1 CHAPTER 1 Getting Started: Compiling, Running, and Debugging 1.0 Introduction This chapter covers some entry-level tasks that you need to know how to do before you can go on—it is said you must crawl before you can walk, and walk before you can ride a bicycle. Before you can try out anything in this book, you need to be able to compile and run your Java code, so I start there, showing several ways: the JDK way, the Ant way, and the Integrated Development Environment (IDE) way. Another issue people run into is setting CLASSPATH correctly, so that’s dealt with next. Then I’ll discuss a few details about applets, in case you are working on them. Dep- recation warnings come next, as you’re likely to meet them in maintaining “old” Java code.* The chapter ends with some general information about conditional compila- tion, unit testing, assertions, and debugging.
(2007)
Tomcat: The Definitive G...
The Definitive Guide
by Jason Brittain and Ian Darwin
Chapter 1 CHAPTER 1 Getting Started with Tomcat The first Java servlet container was Sun Microsystems’s Java Web Server (JWS). It was more affordable than most commercial server offerings, but it did not enjoy widespread commercial success. This was due largely to Java’s novelty and the fact that servlets had only recently been introduced. One of JWS’s main outgrowths, however, was the Java Servlet Specification, a de facto standard that Sun docu- mented and made available separately. One big success of JWS was that it put Java servlets in the limelight. In 1996, a plethora of free Java servlet containers became popular. Apache’s JServ and CERN/W3C’s Jigsaw were two of the earliest open source Java servlet containers. They were quickly followed by several more, including Jetty (http://www.jetty.org), the Locomotive Application Server (see the web archives at http://web.archive.org/ web/*/http://www.locomotive.org), Enhydra (http://www.enhydra.org), and many oth- ers. At the same time, commercial servlet
(2007)

