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 precautions should I take when I use blocking receive() calls? : BEA Weblogic

547


What is mulicast in weblogic?

633


Why ca not I boot weblogic server when using the ldap security realm? : BEA Weblogic

547


What Is The Advantage Of Clustering ?

563


Can you briefly describe local interfaces?

541






Can the bean class implement the ejbobject class directly? If not why?

505


Define the toolbar elements.

551


What is the difference between weblogic and jboss?

508


What are logics in reference to web logic servers?

498


What are web logic servers?

530


List components of jndi?

588


Managed servers are running. What happens if admin server down?

531


Why the node manager is required?

630


Tell me what can happen when stub can't to connect to web-logic server instances?

513


How do I set up my classpath? : BEA Weblogic

546