Introduction to Java Programming-Comprehensive Version (6th Edition)
This part is devoted to the development of Web applications using Java. Chapter 32 introduces the use of Java to develop database projects, Chapter 33 introduces advanced features of Java database programming, and Chapters 34 and 35 introduce how to use Java servlets and JSP to generate dynamic contents from Web servers. Chapter 36 introduces high-level network programming using remote method invocation.
Prerequisites for Part 8
You can cover Chapter 32 after Chapter 16, "Applets and Multimedia," and then cover Chapters 34 and 35. Chapter 33 is an optional chapter, which can be skipped completely. Chapter 36 can be covered after Chapter 16, "Applets and Multimedia."
|
|
|
|
|
Chapter 32. Java Database Programming
Mayan God Shel, Mexico. Photographer: Philip Coblentz. Courtesy Brand X Pictures.
Objectives
|
|
32.1. Introduction
You may have heard a lot about database systems. Database systems are everywhere. Your social security information is stored in a database by the government. If you shop online, your purchase information is stored in a database by the company. If you attend a university, your academic information is stored in a database by the university. Database systems not only store data, they also provide means of accessing, updating, manipulating, and analyzing data. Your social security information is updated periodically, and you can register in courses online. Database systems play an important role in society and in commerce.
This chapter introduces database systems, SQL, and how to develop database applications using Java. If you already know SQL, you may skip 32.2 and 32.3.