DEV Community

loading...

How to start Embedded Gemfire Application with SpringBoot

loizenai profile image loizenai ・2 min read

https://grokonez.com/spring-framework/spring-data/start-embedded-gemfire-application-springboot

How to start Embedded Gemfire Application with SpringBoot

Gemfire is a memory caching solution for scaling software system, JavaSampleApproach will guide you how to create an Embedded Gemfire Application with SpringBoot.

Related article:
Infinispan Cache Solution | Spring Cache | Spring Boot
How to create a SpringBoot Gemfire RestfulApi

I. Technologies

– Java 1.8
– Maven 3.3.9
– Spring Tool Suite – Version 3.8.1.RELEASE

II. Overview

1. Project Structure

embedded gemfire application

2. Step to do

  • Create Spring Boot project
  • Add needed dependencies
  • Create a Gemfire Region Model
  • Config Gemfire in Local model
  • Implement Gemfire Repository
  • Implement client for check Gemfire's working
  • Run SpringBoot project and result

III. Practices

1. Create Spring Boot project

Open Spring Tool Suite, on Menu bar, choose: File->New->Spring Starter Project, input needed project's info:
embedded gemfire application project info

Press: Next then Finish, Spring boot project will be created

2. Add needed dependencies

  • Add gemfire & spring-shell dependencies:

More at:

https://grokonez.com/spring-framework/spring-data/start-embedded-gemfire-application-springboot

How to start Embedded Gemfire Application with SpringBoot

Discussion (0)

Forem Open with the Forem app