Thankyou.
The first two lines for jdbc connections are:
class.forName("........<
string 1>.........");
Connection con=Driver manager.getConnection("........<string 2>...........");
All i know is that in the first statement:
we load the vendor specific Driver class (which varies from vendor to vendor and type of driver to driver) that has the information of the connection class implemented by that database vendor.DriverManager class (implemented by Sun) takes the required information about the connection class from string1 to make the connection object in second line
and in 2nd statement: In string2 we are specifying the information of databse like the protocol used,dsn name etc...
Am I right ? is there any other explanation?
One thing I have not understood is how the Driver Manager class knows which driver class is already loaded in the memory? How it creates the connection class object?