title: Difference between ehcache and ehcache-core
body: <p>I am beginner for ehcache v/s ehcache-core in Spring framework, my pom.xml used ehcache version 1.5.0</p>
  
  <pre><code>&lt;dependency&gt;
  &lt;groupId&gt;net.sf.ehcache&lt;/groupId&gt;
  &lt;artifactId&gt;ehcache&lt;/artifactId&gt;
  &lt;version&gt;1.5.0&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>Now, it will need to update ehcache version because it will use in another jar:-
  Updated ehcache version 2.7.0
  But it returns error 
  net.sf.ehcache.Cache.getStatistics() method not found.</p>
  
  <p>Now, I am replacing ehcache via ehcache-core 2.5.7 as:-</p>
  
  <pre><code>&lt;dependency&gt;
  &lt;groupId&gt;net.sf.ehcache&lt;/groupId&gt;
  &lt;artifactId&gt;ehcache-core&lt;/artifactId&gt;
  &lt;version&gt;2.5.7&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>Is it break another functionalities or will work same as ehcache?</p>