CHAPTER 2 JDBC and Connector/J In the previous (Web hosting linux)
CHAPTER 2 JDBC and Connector/J In the previous chapter, we discussed how a database can aid in the development of both Web sites and applications. One of the most popular databases is MySQL. Of course, a language is also needed, and our choice for this blog is Java. By itself, Java doesn t have any way of directly accessing a database. To allow us to achieve the necessary interface between Java and a database, the developers at Sun created a specification called JDBC. In this chapter, we take a comprehensive look at the following: The history of JDBC JDBC driver types Standards and how they affect JDBC The JDBC class MySQL s Connector/J driver What Is JDBC? In this section, we provide a brief overview of what JDBC is and how it came about. Although many believe that JDBC is an acronym for Java Database Connectivity, the JDBC documentation itself states that JDBC isn t an acronym but actually a trademarked name (you can find more information about JDBC at Sun s Web site: http://java.sun.com/products/jdbc/). With that said, JDBC is simply an application programming interface (API) for manipulating a database. The manipulation includes everything from 9
Note: If you are looking for cheap and quality provider to host and run your java application check Astra java hosting services