This is a trick that I have used many times which I first learned about on Mkyong.com – one of my favorite Java/Spring/Hibernate resources. Just about any application will need to connect to external resources like databases, web services, file servers, and the like....