This book describes the standard Java interfaces that make portable object-oriented access to relational databases possible, and offers a robust model for writing applications that are easy to maintain. The second edition has been completely updated for JDBC 2.0, and includes reference listings for JDBC and the most important RMI classes. The book begins with a quick overview of SQL for developers who may be asked to handle a database for the first time, and goes on to explain how to issue database queries and updates through SQL and JDBC.
-
The JDBC API
-
Chapter 1 Java in the Enterprise
- The Enterprise
- Java as a Tool for Enterprise Development
- The Database
- Database Programming with Java
-
Chapter 2 Relational Databases and SQL
- What Is a Relational Database?
- An Introduction to SQL
- A Note on SQL Versions
-
Chapter 3 Introduction to JDBC
- What Is JDBC?
- Connecting to the Database
- Basic Database Access
- SQL Datatypes and Java Datatypes
- Scrollable Result Sets
- The JDBC Support Classes
- A Database Servlet
-
Chapter 4 Advanced JDBC
- Prepared SQL
- Batch Processing
- Updatable Result Sets
- Advanced Datatypes
- Meta-Data
-
Chapter 5 The JDBC Optional Package
- Data Sources
- Connection Pooling
- Rowsets
- Distributed Transactions
-
-
Applied JDBC
-
Chapter 6 Other Enterprise APIs
- Java Naming and Directory Interface
- Remote Method Invocation
- Object Serialization
- Enterprise JavaBeans
-
Chapter 7 Distributed Application Architecture
- Architecture
- Design Patterns
- The Banking Application
-
Chapter 8 Distributed Component Models
- Kinds of Distributed Components
- Security
- Transactions
- Lookups and Searches
- Entity Relationships
-
Chapter 9 Persistence
- Database Transactions
- Mementos and Delegates
- JDBC Persistence
- Searches
-
Chapter 10 The User Interface
- Swing at a Glance
- Models for Database Applications
- Distributed Listeners
- Worker Threads
-
-
Reference
-
Chapter 11 JDBC Reference
- Reference
-
Chapter 12 The JDBC Optional Package Reference
- Reference
-
-
Colophon
- Title:
- Database Programming with JDBC & Java, Second Edition
- By:
- George Reese
- Publisher:
- O'Reilly Media
- Formats:
-
- Safari Books Online
- Print Release:
- August 2000
- Pages:
- 348
- Print ISBN:
- 978-1-56592-616-5
- | ISBN 10:
- 1-56592-616-1
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animals on the cover of Database Programming with JDBC and Java, Second Edition, are springboks (Antidorcas marsupialis). These gazelles are the national animal of South Africa, and in addition to their habitats in the western parts of that country, they can also be found in the arid plains of Angola, Namibia, and Botswana.
Springboks are about 55-63 inches long and stand 24-30 inches tall at the shoudler; they average 80-90 pounds in weight. Both males and females have horns, but the males' are longer and thicker. They usually group in small herds, though they have been known to migrate in groups numbering in the thousands. A female springbok generally has one lamb per pregnancy, after a gestation period of about 24 weeks.
The name "springbok" comes from the animal's distinctive habit of springing repeatedly up to 7 feet straight into the air when nervous. This activity is called pronking, and it is accomplished with straight legs and an arched back. Springboks pronk in hopes of distracting predators, like the cheetahs, lions, hyenas, and wild dogs who'd like nothing more than a springbok lunch. But it's not just predators who startle these jumpy gazelles: springboks have been known to pronk at the flash of lightning or crash of thunder-which can cause a veritable stampede of pronking springboks-and even at the sight of a new watering hole. Ann Schirmer was the copyeditor and interior compositor for Database Programming with JDBC and Java, Second Edition. Catherine Morris, Claire Cloutier, and Jane Ellin performed quality control reviews. Mary Anne Weeks Mayo proofread the book. Judy Hoer wrote the index.
The cover was designed by Emma Colby using a series design by Edie Freeman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font.
Alicia Cech and David Futato designed the interior layout based on a series design by Nancy Priest. Mike Sierra implemented the design in FrameMaker 5.5.6. The heading font is Bodoni BT; the text font is New Baskerville. The illustrations that appear in the book were produced by Robert Romano and Rhon Porter using Macromedia Freehand 8 and Adobe Photoshop 5. This colophon was written by Leanne Soylemez.




