DEV Community

loizenai
loizenai

Posted on

How to create a SpringBoot Gemfire RestfulApi

https://grokonez.com/spring-framework/spring-data/create-springboot-gemfire-restfulapi

How to create a SpringBoot Gemfire RestfulApi

Spring Data REST provides a mechanics for creating and retrieving an Object from Gemfire storage.
In the article, JavaSampleApproach will introduce you how to create a Gemfire RestfulAPI.

Related Articles:

I. Technologies for SpringBoot Gemfire Restful Api

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

II. Overview

1. Project Structure

springboot gemfire restfulapi project structure

2. Step to do

  • Create a Spring Boot project
  • Create a Java Model class
  • Config Gemfire storage
  • Create a Gemfire repository
  • Run & Check result

III. Practices

1. Create a Spring Boot project

Open Spring Tool Suite, on main menu, choose File->New->Spring Starter Project, input project info, press Next then Finish, spring boot project will be created successfully.

Gemfire & Restful dependencies:

Open pom.xml file, add needed dependencies:

More at:

https://grokonez.com/spring-framework/spring-data/create-springboot-gemfire-restfulapi

How to create a SpringBoot Gemfire RestfulApi

Top comments (0)