How to Integrate Spring Cache With Ehcache 3 In A Spring Boot Application

preview_player
Показать описание
In this video, we will be exploring how to integrate Spring Cache with Ehcache 3 in a Spring Boot application and use it to understand the concepts of Spring Cache.

Gear I use:

-------Chapters-----

00:00 - Introduction
00:31 - Creating An Application
01:30 - Code Walkthrough
02:02 - Cache Put
03:07 - Cachable
03:43 - Checking Cachable Output
04:44 - Checking CachePut Output
05:39 - Cacheble vs CachePut
07:33 - Understanding Cachable vs CachePut
07:53 - CacheEvict
08:36 - Using CacheEvict
10:20 - Integrating Ehcache 3
10:40 - Configuring Ehcache 3
11:40 - Starting application with Ehcache 3
13:09 - Conclusion

Music Credits:-

Sappheiros - Affection
----------------------------
Social Media
--------------------------------------------------
Рекомендации по теме
Комментарии
Автор

In the first half of your video you didn’t use a cache manager. Why is it needed at the end? Also, is cache manager the same as an ehCache.xml file?

nikesbzoomtre
Автор

Any reason for using Javax in cache manager config?

sm
Автор

I have followed same steps but in my case generatePerson method is called again and again. Result is not getting stored in cache probably. Even there is no error in console.

Why? What are the possibilities for where I am doing wrong?

Abhay.Bhandari
Автор

Good bro. In the Realtime, data in the cache and its expire time is 24 hours. Meanwhile value got changed for same key or same input. Then what will happen. ?

saravanakumara
Автор

You should probably explicitly mention that the eviction annotation will not work unless in another class than the cacheable annotation. At least that is what I found.

qlyde
join shbcf.ru