This week's giveaway is in the EJB and other Java EE Technologies forum. We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line! See this thread for details.
hi all 1. Is that Type 4 Driver is Advisable for every case? 2. If a client stresses for using Type 2 driver instead of using pure java Type 4 driver. What are possible reasons for demarcation of added platform independency characteristices of Type 4 in this case?
There is a good overview of drivers--with pros and cons--in ComputerWorld. Many more such web sites contain similar information and can easily be found by doing a web search. You might summarize this information for the client. Also, ask why the client why they are so insistent on using a Type 2 driver? That is the best way of finding out, rather than having *us* theorize what their reasons are. Then you can deal with those specific issues.
Joined: Aug 01, 2003
Originally posted by Wayne L Johnson:
Also, ask why the client why they are so insistent on using a Type 2 driver? That is the best way of finding out, rather than having *us* theorize what their reasons are. Then you can deal with those specific issues.
Thanks Wayne for ur reply..basically for second question,itwas asked in an interview by big Software tycoon as "Why do we have Type 2 Drivers ,when type 4 are better in every way i.e performance wise and platform independency characteristics?" Thanks and Regards Vikas Sharma
One possible reason is that a type 4 driver might not support every feature of the underlying database. For example, Oracle's database protocol has some mechanisms for client to try connecting to another database if the server fails. Last I looked (which was with 8i) some of them were not supported with the type 4 driver.