Summary ..........................................................................................................481
Q&A
................................................................................................................481
Quiz
................................................................................................................482
Questions
................................................................................................482
Answers
..................................................................................................482
Certification Practice
..................................................................................483
Exercises
..........................................................................................................483
DAY 18: Accessing Databases with JDBC 485
Java Database Connectivity..................................................................................486
Database Drivers
......................................................................................487
The JDBC-ODBC Bridge
....................................................................................487
Connecting to an ODBC Data Source
............................................................489
JDBC Drivers
..........................................................................................502
Summary
..........................................................................................................507
Q&A
................................................................................................................508
Quiz
................................................................................................................508
Questions
................................................................................................508
Answers
..................................................................................................509
Certification Practice
..................................................................................509
Exercises
..........................................................................................................510
DAY 19: Reading and Writing RSS Feeds 511
Using XML ......................................................................................................512
Designing an XML Dialect
..................................................................................515
Processing XML with Java
..................................................................................516
Processing XML with XOM
................................................................................516
Creating an XML Document
......................................................................518
Modifying an XML Document
....................................................................521
Formatting an XML Document
....................................................................525
Evaluating XOM
......................................................................................528
Summary
..........................................................................................................530
Q&A
................................................................................................................531
Quiz
................................................................................................................531
Questions
................................................................................................531
Answers
..................................................................................................532
Certification Practice
..................................................................................532
Exercises
..........................................................................................................533
xvi
Sams Teach Yourself Java 6 in 21 Days