
22 CHAPTER 1 Introduction to Programming and the Java Language
Java servlets are invoked by the web server and run on the server, without
being downloaded to the client. Typically, servlets dynamically generate
web content by reading and writing to a database using JDBC.
Java applications run standalone on a client computer. In this book, we will
write a few applets, but mainly we will write Java applications.
Sun Microsystems provides a valuable website (www.java.sun.com), which
has information on using the prewritten classes, a tutorial on Java, and
many more resources for the Java programmer. We will refer you to that site
often in this book.
1.5