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

When we can update the application? Is server up time or downtime?

975


What is the format of the log message out to standard out?

564


For ejb applications with bean-managed transaction demarcations, which of the following is used by the client to get a reference to the usertransaction object for the weblogic server domain? : BEA Weblogic

519


Do you know what is the local interface used by web logic server?

519


Explain what is the purpose of stub in web-logic server cluster?

496






Can an mdb be a message producer or both a producer and consumer? : BEA Weblogic

504


In Future how the role of WEBLOGIC in realtime ?

1506


What is the difference between txdatasource and datasource?

535


What is the administration server?

545


When should I use the -nostage option?

645


What is meant by full gc and explain it?

533


What are weblogic clusters?

708


What is the purpose of using multipools in web logic server?

559


What is application tuning?

629


How are the notifications generated when a server is added to a cluster?

546