Skip to content

Instantly share code, notes, and snippets.

View IMRFeng's full-sized avatar
🏠
Working from home

F IMRFeng

🏠
Working from home
  • Auckland, New Zealand
View GitHub Profile
@IMRFeng
IMRFeng / spring-boot-devtools.md
Last active June 4, 2024 04:08
How to add Spring Boot Devtools into the project to enhance your development experience

Spring boot devtools has been shipped since 1.3.0 of Spring Boot release, it's a really handy and productive tool/module that can help you speed up development time without rely on or configure any other third-party libraries like JRebel, or SpringLoad.

Here I'll just talking about 3 of features of the Spring boot. Download Demo Code.

First and foremost, adding spring-boot-devtools into the project, the followings are two ways to add them via Maven and Gradle respectivily:

  • Maven
    <dependencies>
        <dependency>

org.springframework.boot

@IMRFeng
IMRFeng / spring-boot-caching-hazelcast.md
Last active October 29, 2020 04:27
How to use hazelcast as the implemention of Spring Boot Caching

What Hazelcast is?

Hazelcast is a distributed computing and simplified leading open source In-Memory Data Grid(IMDG).

Why would we use it in the micro-services as a caching solution?

  1. Spring Boot has a general support for Hazelcast.

  2. Hazelcast is distributed, fast, easy to cluster and easy to test.