This content has been marked as final. Show 2 replies
It is more the container that is knowing which settings to use. The container understands the Context.xml (it's structure was determined by the container authors) and every time you do
in your application the container will create a context object that has ability to look up many things configured inside the container. In your xml file you specified
so the container makes available a context object that is capable of looking up the resource that you named above.
<Resource auth="Container" ... name="jdbc/bd_tutorias" password...