Database programming with jdbc and java by o reilly pdf
Java Database Connectivity | SpringerLinkThe wide embrace of Java has prompted its quick development. Java includes Java compilers, interpreters, tools, libraries, and integrated development environments IDEs. Java soft is leading the way in the development of libraries to extend the functionality andusability of Java as a serious platform for creating applications. Its primary purpose is to intimately tie connectivity to databases with the Java language. The Internet, or better yet, the technologies used in theoperation of the Internet, are tied into the design of the JDBC. In this book, intranetand Internet are both used to describe the software technology behind the network, suchas the World Wide Web.
Java Database Connectivity
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. The book begins with a quick overview of SQL for developers who may be asked to handle a database for the first time. 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 let developers isolate critical tasks like object creation, information storage and retrieval, and the committing or aborting of transactions.
Java programming language and a wide range of databases. Java can be used to write different types of executables, such as:. The JDBC driver manager ensures that the correct driver is used to access each data source. The driver manager is capable of supporting multiple concurrent drivers connected to multiple heterogeneous databases. Following is the architectural diagram, which shows the location of the driver manager with respect to the JDBC drivers and the Java application:.
It's offered free from Packet Publication. Post a Comment. Who doesn't like free stuff? Fortunately, the Internet is full of free books and eBooks but unfortunately, many of them are of not good quality. Most of the eBooks which are freely available either are sample chapters of popular Java programming books or they are simply old and out-of-date.
This is the mechanism by which relational databases are access in Java. Java is an almost pure object-oriented language; however, although there are some objectoriented databases available, many database systems presently in commercial use are currently relational. It is therefore necessary for any object-oriented language which is to be used for commercial development to provide an interface to such databases. However, each database vendor provides its own proprietary and different API. In many cases they are little more than variations on a theme; however, they tend to be incompatible.