In our actual production containerization deployment process, we often encounter the situation that the Docker image is large and the deployment and release are slow
There are three main factors that affect the image size of docker:
The size of the underlying mirror. Try to choose Apache as the basic image to reduce the built-in s ...
Posted on Sun, 24 May 2020 19:09:01 -0700 by no3dfx
When using ApplicationContext to start the Spring container, the code is as follows:
ApplicationContext applicationContext = new ClassPathXmlApplicationContext(
This line of code, including the whole process of Spring startup, will go through ...
Posted on Sun, 24 May 2020 04:01:23 -0700 by yalag
This article mainly introduces a simple introduction to SpringBoot + Spring Security
Introduction to Spring Security
Spring Security is not introduced too much here. For details, please refer to Official documents
Let me just talk about the spring security core functions:
Certification (who are you)
Authorization (what can you do) ...
Posted on Sat, 23 May 2020 22:12:20 -0700 by daucoin
Recently, I have been busy participating in the company's new project development. As we are about to go online, we are testing the performance of the system, and in the process, we find some code that has room for performance optimization.So I decided to write an article to record all the performance-optimized case s I've encount ...
Posted on Sat, 23 May 2020 18:51:24 -0700 by jayd1985
Spring Boot tutorial - swagger UI
1. What is Swagger?
Swagger Gamma The goal is to define a standard, language independent interface for REST APIs, so that people and computers can discover and understand the functions of various services without seeing the source code, documents or network traffic detection. When services are defined by swagge ...
Posted on Sat, 23 May 2020 09:55:48 -0700 by YorkshireSteve
In previous interviews, String was frequently visited. Here are a few general points of knowledge:
String Constant Pool
The difference between ==and equals
Although the interview was generally correct, I couldn't answer one of the que ...
Posted on Thu, 21 May 2020 19:54:34 -0700 by phpretard
Spring Boot provides a plug-in spring-boot-maven-plugin It is used to package the program into an executable jar package.
Add this plug-in to the pom file:
Posted on Tue, 19 May 2020 23:17:52 -0700 by Melville
Only a bare head can be strong.
Text has been included in my GitHub featured article. Welcome to Star: https://github.com/ZhongFuCheng3y/3y
This Spring MVC has been pushed for a long time and has been very, very busy this time because of the integration of the system.This weekend I returned to the article Corporate Liver earlier.
Posted on Tue, 19 May 2020 18:52:21 -0700 by Andrei
Author: Tony rabbit
Writing this blog post is a record of cross year bug s.
Last year, the next group's partner calculated the number of days between two dates, because the calculation was wrong for cross year reasons.
At that time, the little sister of the test group did not simulate this scenario, whi ...
Posted on Tue, 19 May 2020 00:14:16 -0700 by subasi
Di ~ Di ~ Di ~, production accident, memory leak!
Yesterday afternoon, I suddenly received the message of operation and maintenance that the memory in the production environment of a system in the branch leaked, so I helped to check it.
The first step is to log
The exception log given by the branch is ab ...
Posted on Mon, 18 May 2020 20:57:27 -0700 by Skaara