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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of using preparedstatement in java?

549


What is the significance of DataBaseMetaData.tableIndexStatistics? How to obtain and use it?

516


List some new features available in jdbc 4.0?

483


How do I know which jdbc driver to use?

602


Why resultset is used in java?

508






Name different methods for getting streams.

548


What is addbatch jdbc?

539


What is device controller?

526


Why prepared statements are faster?

533


What is jdbc odbc bridge?

508


Does jdbc use ssl?

502


How do you determine the sensitivity of the ResultSet object?

552


What is a datasource in java?

506


How can I connect mysql or oracle with java?

556


What is a JDBC 2.0 DataSource?

566