Lecture 2.3.2
Lecture 2.3.2
DEPARTMENT : CSE
Bachelor of Engineering (Computer Science
& Engineering)
PROJECT BASED LEARNING IN JAVA WITH
LAB
(21CSH-319/21ITH-319)
TOPIC OF PRESENTATION:
Configuring various types of drivers for Java Database
Connectivity, MVC Model for project development. (CO 4)
DISCOVER . LEARN .
EMPOWER
University Institute of Engineering (UIE)
Lecture Objectives
2
University Institute of Engineering (UIE)
JDBC ARCHITECTURE/JDBC Driver Types
• Type 1
• JDBC-ODBC Bridge
• Type 2
• Native API, partially java driver
• Type 3
• JDBC Network Driver, partially java
• Type 4
• Native-protocol pure Java driver (100% Java )
• If you are accessing one type of database, such as Oracle, Sybase, or IBM, the
preferred driver type is 4.
• If your Java application is accessing multiple types of databases at the same time, type
3 is the preferred driver.
• Type 2 drivers are useful in situations, where a type 3 or type 4 driver is not available
yet for your database.
• The type 1 driver is not considered a deployment-level driver, and is typically used for
development and testing purposes only.
Reference Links:
https://www.tutorialspoint.com/mvc_framework/
mvc_framework_architecture.htm
https://www.tutorialspoint.com/mvc_framework/
mvc_framework_models.htm
https://www.guru99.com/mvc-tutorial.html
https://en.wikipedia.org/wiki/Model%E2%80%93view
%E2%80%93controller
https://www.educative.io/blog/mvc-tutorial