I'm deploying a WAR into a Tomcat that has a datasource (Oracle) defined in its context.xml.
My app accesses it by the jndi name. Do I need to embed the jar driver into the war? Or do I just need to has it in Tomcat's classpath?
--edit--
I explained a little bit wrong. I'm providing it in the war and it's working.
But my final doubt I think is if the connection was made by the server itself or the jndi simply gave the data to the application to perform it.
The driver provided in the war is confusing me in this behaviour
Thanks