Can anyone tell me the concept of JNDI in idiot please? What are the differences between naming services and directory services in JNDI itself?
Last time, I was developing J2EE Web Application. I have DataSource on my Tomcat and I bind it in the context. Then my EJB is also bound into JNDI for each of the session bean (Is it? I forgot about it :D). My questions are are these things (DataSource and EJB JNDI) are living together in one place (JNDI)? What would happen if the names are accidentally same? How does JNDI detect it?
Can my J2SE app call JNDI? I believe not but to download dbcp.