<h1>Create docker image and start it</h1>

* build war and copy required dependencies :

	mvn clean package
	
* build and start docker compose 

	docker compose up -d
	
* view the tomcat logs

	docker logs -t -f examples-tomcat-tomcat-1 	

<h1>Open your browser</h1>

* for JDBC:

	http://localhost:8888/examples-tomcat/jdbc returns the balance of account 1 by default
	http://localhost:8888/examples-tomcat/jdbc?account=2 to get the balance of account 2
	http://localhost:8888/examples-tomcat/jdbc?account=2&operation=withdraw&amount=50 to withdraw 50 from account 2	

* for JMS:

	http://localhost:8888/examples-tomcat/jms to post a message on a test queue
	
* for JMX:
 
	execute jconsole.
	in the remote process paste "service:jmx:rmi:///jndi/rmi://localhost:9999/jmxrmi"
	go to the "MBeans" section.
	
<h1>Shutdown and cleanup data</h1> 

	docker compose down --volumes --remove-orphans
	
