Upgrade to Ehcache 3
I saw on twitter the reference of an article (in french): http://javaetmoi.com/2016/08/migrer-vers-spring-boot/ That article concludes with something along the lines of "Besides the EhCache and Maven configuration, Petclinic does not hold a single line of XML anymore". Looking at the code, we can remove more XML if you want. This PR migrates the cache infrastructure to EhCache 3 and JCache (JSR-107). This also reduces the number of dependencies.
Showing
- pom.xml 5 additions, 23 deletionspom.xml
- src/main/java/org/springframework/samples/petclinic/config/CacheConfig.java 30 additions, 0 deletions...springframework/samples/petclinic/config/CacheConfig.java
- src/main/resources/ehcache.xml 0 additions, 17 deletionssrc/main/resources/ehcache.xml
- src/main/resources/ehcache.xsd 0 additions, 419 deletionssrc/main/resources/ehcache.xsd
Loading
Please register or sign in to comment