what is diff btwn JNDI&JDBC?

Answer Posted / suman singh

For understanding JDBC and JNDI....we need to understand web container...web container is more similar to jvm..manager thread, security e.tc......In case of JDBC if multiple user request then object is created according to number of user. IN jdbc reuse ability of object is not possible. But in case of JNDI ..if three request is simultaneously coming from browser to web container ..then three object is created ..but when 4th ,5th ...request is coming it is use the object of previous request ..IN case of JNDI it is helpful in case of server crashes....You may be relate this topic with applet(jdbc)and servlet(JNDI).......

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the format of a log message in a web logic server?

531


What should you do in a passive method?

543


In Future how the role of WEBLOGIC in realtime ?

1524


When can high usage of CPU occur?

629


How do I configure jms security? : BEA Weblogic

544






What are tuning jvm parameters?

582


How to access the admin console?

590


What is os tuning?

599


Explain briefly what is the nm?

566


What is the boot?

538


Whenever we see a very slow response from server-side, then what all thing we need to look into?

568


How managed servers communicate with each other?

567


What are data-sources and what features do they offer?

540


What are the differences between a web logic server and a web server?

552


Explain what are the ways in which the dns request of failed servers handled?

490