



Spring Cloud Alibaba’s Tutorial from Getting Started to a Master (5) — Current Limiting Component…
Spring Cloud Alibaba’s Tutorial from Getting Started to a Master (5) — Current Limiting Component SentinelRapid Integration in Projects and Current Limiting Component Sentineldemand backgroundRapid integration...
How to Mock HttpServletRequest
1. Overview In this quick tutorial, we'll look at a few ways to mock a HttpServletRequest object. First, we'll start with a fully functional mock type – MockHttpServletRequest from the Spring Test library. Then, we'll see how to test using two popular mocking libraries – Mockito and JMockit. Finally, we'll see how to test using an anonymous subclass. 2. Testing HttpServletRequest Testing Servlets can be tricky when we want to...


The most easiest Spring Cloud tutorial ever| Chapter 4: Circuit Breaker (Hystrix) (Finchley…
The most easiest Spring Cloud tutorial ever| Chapter 4: Circuit Breaker (Hystrix) (Finchley Version)In the microservice architecture, it is divided into services one by one according to the business, and the services...


The most easiest SpringCloud tutorial ever | Chapter 2: Service consumer (rest+ribbon) (Finchley…
The most easiest SpringCloud tutorial ever | Chapter 2: Service consumer (rest+ribbon) (Finchley version)In the previous article, I talked about the registration and registration of services. In the microservice...


Spring Cloud Alibaba’s Tutorial from Getting Started to a Master(3) — Nacos Configuration Center
Spring Cloud Alibaba’s Tutorial from Getting Started to a Master(3) — Nacos Configuration CenterQuick Integration of Configuration Center in the Project · Nacos Configuration Center Management Functionphoto by...

Interview questions about redis cache penetration, cache breakdown, cache avalanche solution…
Interview questions about redis cache penetration, cache breakdown, cache avalanche solution analysisredis cache penetration, cache breakdown, cache avalanche solution analysisHow to prevent cache breakdown...




Building Native Images with Spring Native and Liberica tools with a Speed Comparison
1. Overview As microservice architecture gains popularity, giant monolithic applications are becoming a thing of the past. Java isn't staying stagnant and instead is adapting to modern needs. For example, Oracle, Red...
Starting Spring Boot Application in Docker With Profile
1. Introduction We all know how popular Docker is and how fashionable for Java developers it is to containerize their Spring Boot applications. However, how we set profiles in a dockerized Spring Boot application can be a question for some developers. In this tutorial, we will explain how to start a Spring Boot application with profiles when it's in a Docker container. 2. Basic Dockerfile Generally, to dockerize a Spring Boot...
