Using the JDBC

"Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining." —Jeff Raskin


In this chapter, we show you how to utilize a database from within a Java app by means of the Java Database Connectivity library (JDBC). This is a very powerful tool, especially when used in conjunction with a server app for handling the back end of a multiplayer network game over the Internet (or, at the most basic of levels, a high-score table).