Description
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. It introduces the JDBC and RMI packages and includes a set of patterns that separate the functions of the Java application and facilitate the growth and maintenance of an application. Database Programming with JDBC and Java recently won a Reader's Choice Special Mention Award from Visual Basic Programmers Journal. It was the only winner in the category of Java publications.
Full Description
Java and databases make a powerful combination. Getting the two sides to work together, however, takes some effort--largely because Java deals in objects while most databases do not.
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. It introduces the JDBC and RMI packages and uses them to develop three-tier applications (applications divided into a user interface, an object-oriented logic component, and an information store). This book is the key to becoming a more effective application developer for Java database programs. It includes reference listings for JDBC and the most important RMI classes and covers Java 1.1.
The book begins with a quick overview of SQL for developers who may be asked to handle a database for the first time. It then explains how to issue database queries and updates through SQL and JDBC. It also covers the use of stored procedures and other measures to improve efficiency, where these are available.
But the book's key contribution is a set of patterns that separate the various functions of the Java application and facilitate the growth and maintenance of an application. Patterns allow isolation of critical tasks like object creation, information storage and retrieval, and the committing or aborting of transactions. The book also introduces RMI as a way to distribute objects among systems. All techniques are illustrated with working examples.
Colophon
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 image of a jacks game on the cover of Database Programming with JDBC and Java is from the CMCD PhotoCD Collection. It was manipulated by Edie Freedman using Adobe Photoshop 3.0 and Adobe Gallery Effects filters. The cover layout was produced with Quark XPress 3.3 using the Bodoni Black font from URW Software. The inside layout was designed by Nancy Priest. Text was prepared by Mike Sierra in FrameMaker. The heading font is Bodoni BT; the text font is New Baskerville. The illustrations that appear in the book were created in Macromedia Freehand 5.0 by Chris Reilley. Whenever possible, our books use RepKover, a durable and flexible lay-flat binding. If the page count exceeds RepKover's limit, perfect binding is used.