SlideShare a Scribd company logo
Introduction of
Java JDBC
Before JDBC, ODBC API was the database API to
associate and execute question with the database.
Be that as it may, ODBC API utilizes ODBC driver
which is composed in C dialect (i.e. stage needy
and unsecured).
That is the reason Java has characterized
its own API (JDBC API) that utilizations JDBC
drivers (written in Java dialect).
What is API Programming interface
(Application programming interface) is a report
that contains portrayal of the considerable number
of elements of an item or programming.
It speaks to classes and interfaces that
product projects can take after to speak with each
other. An API can be made for applications,
libraries, working frameworks, and so forth ..
Propelled JAVA Training in Marathahalli
bangalore
There are 4 sorts of JDBC drivers
1. JDBC-ODBC connect driver
2. Native-API driver (mostly java driver)
3. Network Protocol driver (completely java driver)
4. Thin driver (completely java driver)
1) The ODBC driver should be introduced on the
customer machine.
2) Native-API driver The Native API driver utilizes the
customer side libraries of the database.
The driver changes over JDBC technique
calls into local calls of the database API. It is not
composed totally in java.
Favorable position: performance updated than JDBC-
ODBC connect driver.
Burden: The Native driver should be introduced on the
every
customer machine: The Vendor customer library
should be introduced on customer machine.
3) Network Protocol driver :
The Network Protocol driver
utilizes middleware (application server) that
proselytes JDBC calls straightforwardly or in a
roundabout way into the merchant particular
database convention. It is completely composed in
java.
Preferred standpoint: No customer side library is
required in light of utilization server that can
perform many errands like examining, stack
adjusting, logging and so on.
Detriments: Network bolster is required on
customer machine.
1) JDBC-ODBC bridge driver
The JDBC-ODBC bridge driver uses ODBC
driver to connect to the database. The JDBC-ODBC
bridge driver converts JDBC method calls into the
ODBC function calls. This is now discouraged
because of thin driver.
Advantages:
easy to use.
can be easily connected to any database.
Disadvantages:
Performance degraded because JDBC method call is
converted into the ODBC function calls.
The ODBC driver needs to be installed on the client
machine.
2) Native-API driver
The Native API driver uses the client-side
libraries of the database. The driver converts JDBC
method calls into native calls of the database API. It
is not written entirely in java.
Advantage:
performance upgraded than JDBC-ODBC bridge
driver.
Disadvantage:
The Native driver needs to be installed on the each
client machine.
The Vendor client library needs to be installed on
client machine.
3) Network Protocol driver
The Network Protocol driver uses middleware
(application server) that converts JDBC calls directly
or indirectly into the vendor-specific database
protocol. It is fully written in java.
Advantage:
No client side library is required because of
application server that can perform many tasks like
auditing, load balancing, logging etc.
Disadvantages:
Network support is required on client machine.
Requires database-specific coding to be done in
the middle tier.
Maintenance of Network Protocol driver becomes
costly because it requires database-specific
coding to be done in the middle tier.
4) Thin driver
The thin driver converts JDBC calls directly into
the vendor-specific database protocol. That is
why it is known as thin driver. It is fully written
in Java language.
Advantage:
Better performance than all other drivers.
No software is required at client side or server side.
Disadvantage:
Drivers depends on the Database.
Introduction of java jdbc
Introduction of java jdbc

More Related Content

What's hot (20)

PPTX
Devjyotippt
Gaurav pathak
 
PPT
Ejb course in-mumbai
vibrantuser
 
PPTX
Jdbc driver types
Soham Kansodaria
 
PPTX
enterprise java bean
Jitender Singh Lodhi
 
PPTX
Java EE EJB Applications
DevelopIntelligence
 
PPTX
Java bean
Jafar Nesargi
 
PPTX
PPT on JAVA
Er Bhagat Sharma
 
PDF
Ejb notes
Mumbai Academisc
 
DOCX
J2EE Architecture Explained
Adarsh Kr Sinha
 
PPTX
J2ee architecture
Erencan Özkan
 
PPTX
Java Training in Chennai
raj esaki
 
PPSX
Fundamentals of JDBC
Jainul Musani
 
PDF
A guide to ADF fusion development
DataNext Solutions
 
PPT
JEE Course - EJB
odedns
 
PPT
J2EE and Servlet
Rishikesh .
 
PDF
Ajp notes-chapter-05
Ankit Dubey
 
PDF
Enterprise Java Beans - EJB
Peter R. Egli
 
PPT
Vinay
Vinay Sandesh
 
PPSX
Entity beans in java
Acp Jamod
 
Devjyotippt
Gaurav pathak
 
Ejb course in-mumbai
vibrantuser
 
Jdbc driver types
Soham Kansodaria
 
enterprise java bean
Jitender Singh Lodhi
 
Java EE EJB Applications
DevelopIntelligence
 
Java bean
Jafar Nesargi
 
PPT on JAVA
Er Bhagat Sharma
 
Ejb notes
Mumbai Academisc
 
J2EE Architecture Explained
Adarsh Kr Sinha
 
J2ee architecture
Erencan Özkan
 
Java Training in Chennai
raj esaki
 
Fundamentals of JDBC
Jainul Musani
 
A guide to ADF fusion development
DataNext Solutions
 
JEE Course - EJB
odedns
 
J2EE and Servlet
Rishikesh .
 
Ajp notes-chapter-05
Ankit Dubey
 
Enterprise Java Beans - EJB
Peter R. Egli
 
Entity beans in java
Acp Jamod
 

Similar to Introduction of java jdbc (20)

PPTX
java 4 Part 1 computer science.pptx
MUHAMMED MASHAHIL PUKKUNNUMMAL
 
PDF
Java and Database - Interacting with database
Amol Gaikwad
 
PDF
Java unit 14
Shipra Swati
 
PPTX
Advanced JAVA
Rajvi Vaghasiya
 
PPTX
java.pptx
bfgd1
 
PPTX
Jdbc drivers
Saurabh Bhartiya
 
PPTX
jdbc Java Database Connectivity ujjwal matoliya jdbc.pptx
ujjwalmatoliya
 
PPTX
Jdbc
gee eew3
 
PPTX
Jdbc introduction
Rakesh Kumar Ray
 
DOC
jdbc document
Yamuna Devi
 
PPTX
JDBC
Ashish K
 
PDF
Jdbc 1
Mukesh Tekwani
 
PPTX
java database connectivity for java programming
rinky1234
 
PPTX
Java- JDBC- Mazenet Solution
Mazenetsolution
 
PPT
JDBC Architecture and Drivers
SimoniShah6
 
PPT
JDBC.ppt
ChagantiSahith
 
PPTX
Java Database Connectivity (JDBC)
Pooja Talreja
 
PDF
JDBC : Java Database Connectivity
DevAdnani
 
java 4 Part 1 computer science.pptx
MUHAMMED MASHAHIL PUKKUNNUMMAL
 
Java and Database - Interacting with database
Amol Gaikwad
 
Java unit 14
Shipra Swati
 
Advanced JAVA
Rajvi Vaghasiya
 
java.pptx
bfgd1
 
Jdbc drivers
Saurabh Bhartiya
 
jdbc Java Database Connectivity ujjwal matoliya jdbc.pptx
ujjwalmatoliya
 
Jdbc
gee eew3
 
Jdbc introduction
Rakesh Kumar Ray
 
jdbc document
Yamuna Devi
 
JDBC
Ashish K
 
java database connectivity for java programming
rinky1234
 
Java- JDBC- Mazenet Solution
Mazenetsolution
 
JDBC Architecture and Drivers
SimoniShah6
 
JDBC.ppt
ChagantiSahith
 
Java Database Connectivity (JDBC)
Pooja Talreja
 
JDBC : Java Database Connectivity
DevAdnani
 
Ad

Recently uploaded (20)

PPT
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
PDF
People & Earth's Ecosystem -Lesson 2: People & Population
marvinnbustamante1
 
PPTX
BANDHA (BANDAGES) PPT.pptx ayurveda shalya tantra
rakhan78619
 
PPTX
STAFF DEVELOPMENT AND WELFARE: MANAGEMENT
PRADEEP ABOTHU
 
PDF
Dimensions of Societal Planning in Commonism
StefanMz
 
PPTX
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PPTX
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
PPTX
Soil and agriculture microbiology .pptx
Keerthana Ramesh
 
PPTX
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
PDF
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
PDF
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
PPTX
THE TAME BIRD AND THE FREE BIRD.pptxxxxx
MarcChristianNicolas
 
PDF
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PDF
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
PPTX
Mathematics 5 - Time Measurement: Time Zone
menchreo
 
PPTX
HYDROCEPHALUS: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PPTX
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
PDF
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
PPTX
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
People & Earth's Ecosystem -Lesson 2: People & Population
marvinnbustamante1
 
BANDHA (BANDAGES) PPT.pptx ayurveda shalya tantra
rakhan78619
 
STAFF DEVELOPMENT AND WELFARE: MANAGEMENT
PRADEEP ABOTHU
 
Dimensions of Societal Planning in Commonism
StefanMz
 
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
Stereochemistry-Optical Isomerism in organic compoundsptx
Tarannum Nadaf-Mansuri
 
Soil and agriculture microbiology .pptx
Keerthana Ramesh
 
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 - GLOBAL SUCCESS - CẢ NĂM - NĂM 2024 (VOCABULARY, ...
Nguyen Thanh Tu Collection
 
THE TAME BIRD AND THE FREE BIRD.pptxxxxx
MarcChristianNicolas
 
LAW OF CONTRACT ( 5 YEAR LLB & UNITARY LLB)- MODULE-3 - LEARN THROUGH PICTURE
APARNA T SHAIL KUMAR
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
Mathematics 5 - Time Measurement: Time Zone
menchreo
 
HYDROCEPHALUS: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
Ad

Introduction of java jdbc

  • 2. Before JDBC, ODBC API was the database API to associate and execute question with the database. Be that as it may, ODBC API utilizes ODBC driver which is composed in C dialect (i.e. stage needy and unsecured). That is the reason Java has characterized its own API (JDBC API) that utilizations JDBC drivers (written in Java dialect).
  • 3. What is API Programming interface (Application programming interface) is a report that contains portrayal of the considerable number of elements of an item or programming. It speaks to classes and interfaces that product projects can take after to speak with each other. An API can be made for applications, libraries, working frameworks, and so forth .. Propelled JAVA Training in Marathahalli bangalore
  • 4. There are 4 sorts of JDBC drivers 1. JDBC-ODBC connect driver 2. Native-API driver (mostly java driver) 3. Network Protocol driver (completely java driver) 4. Thin driver (completely java driver)
  • 5. 1) The ODBC driver should be introduced on the customer machine. 2) Native-API driver The Native API driver utilizes the customer side libraries of the database. The driver changes over JDBC technique calls into local calls of the database API. It is not composed totally in java.
  • 6. Favorable position: performance updated than JDBC- ODBC connect driver. Burden: The Native driver should be introduced on the every customer machine: The Vendor customer library should be introduced on customer machine.
  • 7. 3) Network Protocol driver : The Network Protocol driver utilizes middleware (application server) that proselytes JDBC calls straightforwardly or in a roundabout way into the merchant particular database convention. It is completely composed in java. Preferred standpoint: No customer side library is required in light of utilization server that can perform many errands like examining, stack adjusting, logging and so on.
  • 8. Detriments: Network bolster is required on customer machine. 1) JDBC-ODBC bridge driver The JDBC-ODBC bridge driver uses ODBC driver to connect to the database. The JDBC-ODBC bridge driver converts JDBC method calls into the ODBC function calls. This is now discouraged because of thin driver.
  • 9. Advantages: easy to use. can be easily connected to any database. Disadvantages: Performance degraded because JDBC method call is converted into the ODBC function calls. The ODBC driver needs to be installed on the client machine.
  • 10. 2) Native-API driver The Native API driver uses the client-side libraries of the database. The driver converts JDBC method calls into native calls of the database API. It is not written entirely in java. Advantage: performance upgraded than JDBC-ODBC bridge driver. Disadvantage: The Native driver needs to be installed on the each client machine. The Vendor client library needs to be installed on client machine.
  • 11. 3) Network Protocol driver The Network Protocol driver uses middleware (application server) that converts JDBC calls directly or indirectly into the vendor-specific database protocol. It is fully written in java. Advantage: No client side library is required because of application server that can perform many tasks like auditing, load balancing, logging etc.
  • 12. Disadvantages: Network support is required on client machine. Requires database-specific coding to be done in the middle tier. Maintenance of Network Protocol driver becomes costly because it requires database-specific coding to be done in the middle tier.
  • 13. 4) Thin driver The thin driver converts JDBC calls directly into the vendor-specific database protocol. That is why it is known as thin driver. It is fully written in Java language. Advantage: Better performance than all other drivers. No software is required at client side or server side. Disadvantage: Drivers depends on the Database.