Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Type 3 driver

 
A Kumar
Ranch Hand
Posts: 980
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have read that type 3 drivers are supported only by the application servers..

Is that true?

Regards
[ July 22, 2006: Message edited by: Bear Bibeault ]
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34671
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As you can see from the JavaRanch driver comparison, type 3 drivers are usually provided by the middleware vendor, not the database vendor.
 
A Kumar
Ranch Hand
Posts: 980
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

When should i go for a type 3 driver...and I am using Jboss..so how do i configure the driver for the same?


Regards
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34671
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What database are you using?

We typically use the driver from the database vendor (type 4) because it is faster. The database vendor is in the best position to optimize the driver for their database.

For questions about setting up a datasource on JBoss, please start a new thread in the JBoss forum.
 
A Kumar
Ranch Hand
Posts: 980
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jeanne...

So by making use of the datasource,we use type 3 drivers

Is that inference correct..?

Regards
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34671
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by A Kumar:
Thanks Jeanne...

So by making use of the datasource,we use type 3 drivers

Is that inference correct..?

Regards

Not neccessarily. You can set up a datasource on the application server using and driver you want.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic