HOW TO RUN

-start an embedded, preconfigured tomcat using maven goal :

	mvn clean package
	docker build -t examples-tomcat-spring .
	docker run -it --rm -p 8888:8080 examples-tomcat-spring		

- open your browser

- for JDBC:

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

- for JMS:

	http://localhost:8888/examples-tomcat-spring/jms/?account=3&amount=50 to post a message on a test queue (account and amount are optional).
	
- for JMX: 
	1. execute jconsole.
	2. in the Local Process List, select "org.codehaus.plexus.classworld.launcher.Launcher"
	3. go to the "MBeans" section.
	

	
