i am user who logined the application..after that another
valid user will also logind..so that is it neccessary to
create jdbc connection for each and every user...plz explain
it with proper answer...plz help me

Answers were Sorted based on User's Feedback



i am user who logined the application..after that another valid user will also logind..so that is ..

Answer / srikanth

yes u have to create new connection if previous connection
is closed otherwise use exixting connection

Is This Answer Correct ?    13 Yes 0 No

i am user who logined the application..after that another valid user will also logind..so that is ..

Answer / ibm

how many jdbcDrivers are thier

Is This Answer Correct ?    4 Yes 2 No

i am user who logined the application..after that another valid user will also logind..so that is ..

Answer / karthik

No need to create any connection again..k..But inorder to interact with database we need jdbc-odbc connection.
So what will u do here is by using BEAN concept, we can create only one connection programming. After that automatically its call that program only by using constructor concept.
FinalLy what i am saying is that, here the bean used as RE-USABILITY..By use this concept we can login as many as possible..k..

Is This Answer Correct ?    1 Yes 0 No

i am user who logined the application..after that another valid user will also logind..so that is ..

Answer / nikitha

no need to create the connection because JDBC driver will automatically connects when u logined with ur name and password if it is stored in database it will displays the information

Is This Answer Correct ?    0 Yes 0 No

i am user who logined the application..after that another valid user will also logind..so that is ..

Answer / guest

suppose we have to take one ex yahoo mail so many numbers
create their user name&password thats details go to datebase
server,db server responsublity is to stoer &retrive data
after complete u r yahooamil,while again if r login mail u
have to write username&password thats login goes to
dbserver if itchecks for details that datacorrect dbs aceept
thats gives thats guy information

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More JDBC Interview Questions

Is it possible to connect to multiple databases simultaneously? Using single statement can one update or extract data from multiple databases?

0 Answers  


How does JDBC API helps us in achieving loose coupling between Java Program and JDBC Drivers API?

0 Answers  


The new features of the JDBC 2.0 API, will be supported for JDBC-ODBC Bridge?

0 Answers  


What is meant by dao?

0 Answers  


Diff. types of triggers..

4 Answers   Logica CMG,






What are the common jdbc exceptions?

0 Answers  


What is CLOB and BLOB datatypes in JDBC?

0 Answers  


Differentiate between type_scroll_insensitive and type_scroll_sensitive.

0 Answers  


Which database is used with java?

0 Answers  


wahts is mean by primary key and unique key?

7 Answers   Wipro,


DB2 Universal claims to support JDBC 2.0, But I can only get JDBC 1.0 functionality. What can I do?

0 Answers  


How we store procedure in oralce for callable statements in jdbc

0 Answers  


Categories