50 likes | 158 Views
Database Systems. CSC 312 Lecture 10 JDBC - Basics. The Big Picture. Network. Client Machine. Server Prog . (Oracle). Client Application. Database (csc312std). Server Machine (raptor.cs.mercer.edu). Protocol. client. server. request. process. response. display.
E N D
Database Systems CSC 312 Lecture 10 JDBC - Basics
The Big Picture Network Client Machine Server Prog. (Oracle) Client Application Database (csc312std) Server Machine (raptor.cs.mercer.edu)
Protocol client server request process response display
JDBC as a protocol • JDBC is a higher level protocol • Hide connection level details • Such as TCP/IP and physical networking • Let the programmer focus on • Sending queries that are needed, and • Processing results that come back from the DBMS
Connection via JDBC Client Application DBMS Request: query JDBC- Compliant component connection Response: result It’s up to the DBMS vendors to provide JDBC compliant components, with which a client application can “talk” to a specific DBMS instance