Why JDBC has introduced

Answers were Sorted based on User's Feedback



Why JDBC has introduced..

Answer / subbu

Microsoft has introduced odbc. Java and odbc combination
causes two drawbacks.
1. java is platform independent and odbc is platform
dependent(odbc works on windows). If java uses odbc it will
become platform dependent.

2. java is non-pointer programming.Odbc is implemented in
pointers. So, the conversion from non-pointer to pointer
coding and pointer to non-pointer coding is required.This
conversion makes database communication very slow.

so, SUN Microsystems has introduced JDBC technology.

Is This Answer Correct ?    23 Yes 2 No

Why JDBC has introduced..

Answer / archana

to establish the connection between the program and the database

Is This Answer Correct ?    7 Yes 3 No

Why JDBC has introduced..

Answer / prasanta rout

ODBC group create a set of functions called as ODBC API and
the database vendors accepted ODBC API because the
implementation of odbc requires c language with pointer
coding.It means ODBC API was success.if a front end
application uses ODBC then it can connect with any database.
java has no pointers but ODBC using pointers.so non pointer
to pointer conversion is required.it become slow
connectivity from java to database.java is platform
independent but odbc is platform dependent .if java uses
ODBC then java also platform dependent.this is against java
principle.in order to overcome the above problems,sun micro
system introduced its own technology as JDBC.

Is This Answer Correct ?    2 Yes 0 No

Why JDBC has introduced..

Answer / siddharth hiwale

1)sun java promised that java is platform independent programming language
but ODBC all functions are written in 'C' language
and "C" is platform dependent programming language
so it becomes against the SUNJAVA promises
so JDBC introduced
coz jdbc contains classes ,interfaces

2)java does not support pointer
and ODBC supports pointer so it becomes unsecured


that is why JDBC has introduced......

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

What is runnable?

2 Answers  


diff between jsp include directive and jsp action include?

4 Answers   SolutionNET,


What are callback interfaces?

0 Answers  


difference between HashMap, Hashset and hashTable?

2 Answers   HCL, Infotech,


How do u supress the parameters from the displaying in the url?

2 Answers  






what is default length of textfield ?

1 Answers  


What is the immediate superclass of the applet class?

0 Answers  


How to add new JTabbed pane?

1 Answers  


Can I run seam outside of jboss as?

0 Answers  


What is difference RMI registry and OSAgent?

1 Answers  


If I define a method in JSP scriplet <%..%>, where will it go after translation into a servlet?

8 Answers   HeadStrong,


What is a compilation unit?

1 Answers  


Categories