I am using jboss with hibernate and infinityspan caching. I wonder if there is a way to use amazon elasticached instead of infinityspan. I can configure hibernate with amazon caching but with jboss i am totally clueless. Please advise.