Home United States USA — software Developing Spring Boot Applications with In-Memory Database

Developing Spring Boot Applications with In-Memory Database

269
0
SHARE

Learn how to use Spring Boot Ignite extensions for developing microservices with Apache Ignite.
Let’s be friends:
Comment (0)
Join the DZone community and get the full member experience.
I am a big fan of in-memory computing and Apache Ignite is one my favorite platform for developing high-performance backend applications. Recently, the Apache Ignite team announced a new extension for developing a Spring Boot application with the Ignite database. The full documentation of the extension is available here.
The main purpose of the extension is to integrate Ignite into Spring Boot application with minimal configuration. This autoconfigure module serves in two different flavors:
ignite-spring-boot-autoconfigure-ext — Provides autoconfiguration capabilities for Ignite server and client nodes within Spring Boot application. Ignite node (server/client) will be running on the same JVM that uses the Spring boot application (see figure 1 below). Read more about the Ignite cluster topology in the sample chapter of the book.
ignite-spring-boot-thin-client-autoconfigure-ext — Configure an Ignite thin client for the Spring Boot application to connect to the Ignite cluster.
In this blog post, I am going to develop a simple Spring Boot application with the « ignite-spring-boot-autoconfigure-ext » extension to explore the autoconfiguration capabilities of the module.
To effectively demonstrate the capabilities of « ignite-spring-boot-autoconfigure-ext, » I am going to create a simple Spring Boot web application that will expose a REST API « /getQuote » and use the Ignite node as an in-memory database.

Continue reading...