Mercury system implemented with Spring Framework