dev-resources.site
for different kinds of informations.
Infinispan Cache Solution | Spring Cache | Spring Boot
https://grokonez.com/spring-framework/spring-data/infinispan-cache-solution-spring-cache-spring-boot
Infinispan Cache Solution | Spring Cache | Spring Boot
Infinispan cache is a distributed in-memory key/value data store, it is a excellent cache for software system.The tutorial will guide you how to start with Infinispan by Spring Boot for making a caching solution.
Related Articles:
- How to start Embedded Gemfire Application with SpringBoot
- How to create a SpringBoot Gemfire RestfulApi
I. Technology for Infinispan cache tutorial
ā Java 1.8
ā Maven: 3.3.9
ā Editor: Spring Tool Suite ā Version 3.7.3.RELEASE
ā Spring Boot: Version: 3.8.0.RELEASE
II. Overview
1. Structure of Project
2. Step to do
- Create Spring Boot project
- Add needed dependencies
- Configure Infinispan cache
- Create Data Model
- Create Caching Service
- Create Web Controller
- Enable Caching
- Run & Check Result with JConsole
3. Demo video
III. Practices
1. Create Spring Boot project
Open Spring Tool Suite, on main menu, choose File->New->Spring Starter Project, input project info as below pic:
Press Next button, then press Finish, Spring Boot project is created.
2. Add needed dependencies
Need Infinispan Dependencies and Spring Cache & Spring Web MVC dependencies
https://grokonez.com/spring-framework/spring-data/infinispan-cache-solution-spring-cache-spring-boot
Infinispan Cache Solution | Spring Cache | Spring Boot
Featured ones: