• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Type of driver

 
Jithesh Kumar
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which type of drivers we will use in a web application.what is the condition we consider
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
These days, the answer is almost always "type 4", particularly if you aren't clear on what the various types of drivers are.
 
Harpreet Singh janda
Ranch Hand
Posts: 317
Eclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For the development purpose we generally use the type1 driver but mostly type 4 driver is used.
 
Shanky Sohar
Ranch Hand
Posts: 1051
Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
we can use both type 3 and type 4 .........

but type 1 driver is not suppored for web application because it require the odbc driver to installed on each client machine.
this driver is used only when you want that webapplication to run on your own machine only.

but when you require that application to run on each and every machine on web,so there is need of driver 2,3,4

but we can use type 2 but there is some problem that this is not secured enough as compare to type 3 and type 4 because if we want to change the database then we have to change the native API....

so preferred means for web-based application is type 3 and type 4..
but when it comes to performance always use type 4.
because it is a pure java driver and it communicates directly with vender's database through socket communication.



 
Jan Cumps
Bartender
Posts: 2599
12
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here is the Oracle explanation.
Note that the distinction is based on the technology used by the drivers.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic