If your project is written in Java, you can use @Value(“${name}”) to get the value of my.food. However, if it is written in Kotllin, the above method will not work.
Spring Security abstracts almost all components, so that it is impossible to understand intuitively. This article will discuss the architecture of Spring Security in a simple way.
Spring Boot applications often need to provide some REST APIs to allow front-end applications to download images. One is that when open the image URL is opened with a browser, the image will be downloaded into a file. The other is that the browser will directly display the image.
When developing back-end programs, we often need to implement REST APIs so that the front-end can download files. It is easy to implement file downloading REST APIs with Spring Boot StreamingResponseBody.
Backend engineers or site reliability engineers need to backup databases frequently. Apart from manual backup, we can write schedulers to backup databases periodically. Let’s see how to backup and restore databases in a Spring Boot application.