Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
In short, usually when you have some kind of application server, you create all sorts of resources there (data-source, jms, etc) using the server itself, and not inside your application. And the application already receives a reference to the resource from JNDI by the name of the resource.
JNDI is an excellent functionality that can independently resolve the relationship of your application, let's say with a DBMS server, etc. Even the Apache Tomcat WEB container has this functionality.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question