Open DataBase Connectivity(ODBC) Provides a standard software API method for using databases. We can use ODBC for servelets or JSP but using the bridging configuration because direct support for Java Servlets/JSP is not available. Hence the bridging configuration is introduced by means of JDBC.
JDBC stands for Java Database Connectivity. JDBC is nothing but an API(Application Programming Interface). It consists of various classes, interfaces, exceptions using which Java application can send SQL statements to a database. The SQL is a Structured Query Language used for accessing the database.
JDBC is useful for both application developers and JDBC driver vendors.
The JDBC specification is prepared by Sun Microsystems. Any third party vendor can design their own JDBC drivers using this specification. These JDBC drivers are then used by the application developers for getting connected to the database.
JDBC is specially used for having connectivity with the RDBMS packages (such as Oracle or MySQL) using correspondng JDBC driver.
0 comments:
Post a Comment