![]() |
|
![]() |
| LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Junior Member Join Date: Feb 2006 Location: India
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 4 | 1. WHAT IS CLONNEABLE INTERFACE IN JAVA.? Is it implemented by the ProtoType Design pattern.? 2. which drivers we are currently using in jdbc. and why.? 3.what are the references availble in java, How they work.? reply plz..
__________________ M.Raghava Rao |
| | |
| | #2 (permalink) |
| Moderator Join Date: Feb 2006
Posts: 1,413
Thanks: 0
Thanked 17 Times in 14 Posts
Rep Power: 20 | hello 2. which drivers we are currently using in jdbc. and why.? JDBC is a set of Java API for executing SQL statements. This API consists of a set of classes and interfaces to enable programs to write pure Java Database applications. There are two types of JDBC Driver Models and they are: a) Two tier model and b) Three tier model Two tier model: In this model, Java applications interact directly with the database. A JDBC driver is required to communicate with the particular database management system that is being accessed. SQL statements are sent to the database and the results are given to user. This model is referred to as client/server configuration where user is the client and the machine that has the database is called as the server. Three tier model: A middle tier is introduced in this model. The functions of this model are: a) Collection of SQL statements from the client and handing it over to the database, b) Receiving results from database to the client and c) Maintaining control over accessing and updating of the above. a) JDBC-ODBC Bridge driver b) Native API Partly-Java driver c) JDBC-Net Pure Java driver d) Native-Protocol Pure Java driver u use these driving depending on ur achitechture and application requirements
__________________ http://livetolead.blogspot.com/ all the best Arise Awake N Stop Not Until Ur Goal Is Reached! |
| | |
| | #3 (permalink) |
| Junior Member Join Date: Feb 2006 Location: India
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 4 | Thank you very much sowmya.. one more doubt..plz clarify In real time scenario which drivers you people are currently using..? Is there any particular cause..?
__________________ M.Raghava Rao |
| | |
| | #4 (permalink) |
| Moderator Join Date: Feb 2006
Posts: 1,413
Thanks: 0
Thanked 17 Times in 14 Posts
Rep Power: 20 | hello It dep[ends on the Application requirements .. If u need a socket then Use last 2 type drivers else we used JDBC-ODBC bridge driver for our application bye sowmya
__________________ http://livetolead.blogspot.com/ all the best Arise Awake N Stop Not Until Ur Goal Is Reached! |
| | |
| | #5 (permalink) |
| Junior Member Join Date: Mar 2006 Location:
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 4 | in real time applications we use type-4 driver |
| | |
| | #6 (permalink) |
| Moderator Join Date: Feb 2006
Posts: 1,413
Thanks: 0
Thanked 17 Times in 14 Posts
Rep Power: 20 | hello well that can be any one . In polaris we used JDBC-ODBC bridge one ya donno ab others can u please specify what are the major advantages and dis advantages of using driviers depending on performance and stuff SAIVASU waiting 4 ur reply sir please do so bye sowmya
__________________ http://livetolead.blogspot.com/ all the best Arise Awake N Stop Not Until Ur Goal Is Reached! |
| | |
| | #7 (permalink) |
| Super Moderator Join Date: Feb 2006
Posts: 2,379
Blog Entries: 4 Thanks: 118
Thanked 319 Times in 238 Posts
Rep Power: 60 | Type 4 dirvers are provided by the DB vendor and are customized by the Database vendor. There can be different drivers for different versions of Database. Because of the customization, the in performance wise they are better. And also independent of plaform ( still, vendor specific restrictions are applicable on DB). Thanks, Krishna
__________________ Looking for trainees for a start up company |
| | |
| | #8 (permalink) |
| Super Moderator Join Date: Feb 2006
Posts: 2,379
Blog Entries: 4 Thanks: 118
Thanked 319 Times in 238 Posts
Rep Power: 60 | Also, we make use of jdbc-odbc driver only when the development and production environments are windows based. Also jdbc-odbc is a little slower version (but simple in structure). Because we are intruducing a new layer called odbc which keeps us much far from the DB in the application architecture. Thanks, Krishna
__________________ Looking for trainees for a start up company |
| | |
| | #9 (permalink) |
| Moderator Join Date: Feb 2006
Posts: 1,413
Thanks: 0
Thanked 17 Times in 14 Posts
Rep Power: 20 | hello can u please say ab the other drivers performance and where we use them ie i mean which scenarios we use them bye sowmya
__________________ http://livetolead.blogspot.com/ all the best Arise Awake N Stop Not Until Ur Goal Is Reached! |
| | |
| | #10 (permalink) |
| Junior Member Join Date: Mar 2006 Location:
Posts: 20
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 4 | Hello, JDBC Drivers: A comparative Study To connect with individual databases, JDBC requires drivers for each database. The driver gives out the connection to the database and implements the protocol for transferring the query and result from clint to databse.
|
| | |
| The Following User Says Thank You to saivasu For This Useful Post: | nandhini_7 (03-05-07)
|
| | #11 (permalink) |
| Moderator Join Date: Feb 2006
Posts: 1,413
Thanks: 0
Thanked 17 Times in 14 Posts
Rep Power: 20 | hello Thanks u so much sai. Very gud info n clearly put bye sowmya
__________________ http://livetolead.blogspot.com/ all the best Arise Awake N Stop Not Until Ur Goal Is Reached! |
| | |
![]() |
| Tags |
| java , jdbc , servlets |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| More Interview Questions Here... |