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

* build war and copy required dependencies :

	mvn clean package
	
* build and start docker image 

	docker build -t atomikos6 .
	docker run -it --rm -p 8888:8080 atomikos6	

<h1>open your browser</h1>

* for JDBC:

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

* for JMS:

	http://localhost:8888/example-tomcat/jms to post a message on a test queue
	
* for JMX:
 
	execute jconsole.
	in the Local Process List, select "org.codehaus.plexus.classworld.launcher.Launcher"
	go to the "MBeans" section.
	
	
