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 name of default jvm that is made used for weblogic?

752


Which memory space does thread stack get allocated from?

665


Can you explain how can os authentication be connected with weblogic jdriver for oracle and connection pools?

703


What are the recommend parameters to improve the prformance from data-source point of view.

761


Explain what is the procedure to configure jms security?

713


In corba, which of the files generated by the idltojava compiler must be compiled before running the server application? : BEA Weblogic

752


What are stubs?

849


Tell me what are the ways in which weblogic servers can run on multiple machines?

729


How do I increase weblogic server memory?

713


What should you do in a passive method?

709


Explain the client-server architecture.

697


Inclined to build a profession as oracle weblogic developer?

699


What is weblogic application server?

727


What is the difference between stage and no stage deployment?

795


How can an application do a jms operation and have it succeed, independent of the result of the transaction? : BEA Weblogic

757