Recently, I didn't do anything in the company's project. I learned about SpringBoot and found that SpringBoot is still very useful. Compared with the original Spring, it has a lot less xml configuration files (but SpringBoot also supports configuration files). It implements a microservice framework of MVC through annotation. Here, I integrate S ...
The Golang notes summarized here are only suitable for people with a little basic programming, such as Java
A loop is a piece of code that appears only once in a program, but may run multiple times in a row. The code in the loop will run a specific number of times, or end the loop when a specific condition is establishe ...
Posted by helloise on Mon, 25 Apr 2022 13:15:58 +0300
When starting the Halo project for the first time, you need to install the blog and register the user information. After the blog installation is completed, the user can log in to the administrator interface according to the registered information. Let's analyze how the code is executed in the whole process.
Blog installation ...
Posted by bguzel on Mon, 25 Apr 2022 03:02:19 +0300
As we all know, just add corresponding annotations to the corresponding classes (@ Repository@Service@Controller@Component )spring can then inject classes into the ioc container as beans. In addition, the @ Bean annotation can also inject methods as a Bean.
Posted by 88fingers on Sun, 24 Apr 2022 20:57:59 +0300
What is an abstract class?
In Java, not all objects are described by classes. Sometimes, a class does not contain enough information to describe a specific object. Classes like this are abstract classes.
Commonly, if we write a method in a class, but the method has no specific implementation details (no specific imple ...
Posted by at0mic on Fri, 22 Apr 2022 16:28:00 +0300
Reference from JavaGuide Outline:
The ThreadLocal class implements that each thread has its own unique local variable. If you create a ThreadLocal variable, each thread accessing this variable will have a local copy of this variable, which is also the origin of the ThreadLocal variable name. They can use the get () and set () meth ...
Posted by manalnor on Fri, 22 Apr 2022 15:54:53 +0300
To read the Spring Boot source code, you need to understand the Spring Framework related knowledge or source code details. You can refer to my previous blog. Next, we will mainly study Spring Boot. If you don't know how to use Spring Boot, it will take some time to get started.
This article is the first step to read the source code an ...
Posted by Kerant on Fri, 22 Apr 2022 10:55:17 +0300
Technical dry goods are delivered every day!
Source: SpringForAll community
If someone asks you a question about Spring Cloud, the first thing you think of may be Netflix OSS support. Support for tools such as Eureka, zuul or Ribbon is not only provided by Spring, but also used to build Apache, camel, vert X or other popular frameworks ...
Posted by locell on Fri, 22 Apr 2022 03:20:35 +0300
(11) Spring transaction - JdbcTemplate
1. Declarative and programmatic transactions
Programming a transaction requires adding transaction processing logic to the code, which needs to be explicitly called, such as
Posted by Paul Ferrie on Thu, 21 Apr 2022 17:57:15 +0300
Basic introductionIn Halo project, when users or bloggers perform certain operations, the server will publish corresponding events, such as the "log record" event when bloggers log in to the administrator background, and the "access article" event when users browse articles. After the event is released, the Bean responsible ...
Posted by Angerslave on Thu, 21 Apr 2022 17:03:18 +0300