title: How to configure Jcache with Ecache as Provider in Spring application-context.xml?
body: <p>Spring documentation provides below information.</p>
  
  <pre><code>&lt;bean id="cacheManager"
     class="org.springframework.cache.jcache.JCacheCacheManager"
     p:cache-manager-ref="jCacheManager"/&gt;
  
  &lt;!-- JSR-107 cache manager setup  --&gt;
  &lt;bean id="jCacheManager" .../&gt;
  </code></pre>
  
  <p>I want to know exactly how to configure this jcacheManager bean (with EhCache as provider) in spring application context xml. </p>
  
  <p>I have already configured dependency, as below, in pom.xml which is fine.</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;org.ehcache&lt;/groupId&gt;
      &lt;artifactId&gt;jcache&lt;/artifactId&gt;
      &lt;version&gt;1.0.1&lt;/version&gt;
      &lt;exclusions&gt;
          &lt;exclusion&gt;
              &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
              &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
          &lt;/exclusion&gt;
      &lt;/exclusions&gt;
  &lt;/dependency&gt; 
  </code></pre>