I'm attempting to build a simple dynamic web app (using Eclipse Mars) which uses ActiveMQ to queue a message to a message-broker network. I found a web site which recommended that:
<b>As Tomcat has only a static JNDI, we add the ConnectionFactory and the Queue via the context.xml:
My questions are:
In my Eclipse project structure, where should I place this file (the project will be exported to a WAR file and placed in the /opt/tomcat/webapps directory on a CentOS 7 VM) ?
Should the file be named context.xml ?