Definition of Java Database Connectivity
JDBCT is a JavaT API executing statements. It consists of classes and interfaces that are written in java programming language. Using JDBC it is easy to send SQL statements to any relational database. The combination of java and JDBC lets us to write it once and run it anywhere. As java is secure, robust, easy to use, easy to understand, and automatically downloadable on a network is an excellent language for database applications. JDBC extends what can be done in java. With java and JDBC API we can publish a web page containing an applet that uses information obtained from a remote database.
Advantages of JDBC:
- JDBC establishes a connection with a database.
- JDBC sends SQL statements.
- JDBC also processes the results.
- the JDBC drive manager.
- the JDBC driver-test suite.
- the JDBC-ODBC bridge.
I have made a project on the CONTACT MANAGEMENT SYSTEM in which I used JDBC-ODBC database connectivity and it's syntax is as follows:
con =
DriverManager.getConnection("jdbc:odbc:sampledatabase");
No comments:
Post a Comment