Spring AOP (aspect oriented programming)

Official concept: AOP, that is, aspect oriented programming, can be said to be the supplement and improvement of OOP (Object Oriented Programming). OOP introduces the concepts of encapsulation, inheritance and polymorphism to establish an object hierarchy, which is used to simulate a set of public behaviors. However, OOP allows developers to de ...

Added by Bozebo on Sun, 06 Mar 2022 08:57:17 +0200

Summary of common annotations for SpringBoot

catalogue @SpringBootApplication Spring Bean related @Autowired @Component,@Repository,@Service, @Controller @RestController @Scope @Configuration Handling common HTTP request types GET request POST request PUT request DELETE request PATCH request Front and rear end value transmission @PathVariable and @ RequestParam @RequestBod ...

Added by Spectre on Sun, 06 Mar 2022 07:32:47 +0200

New java8 feature: Stream stream

Stream stream The new features of Java 8 are mainly Lambda expressions and streams. When streams and Lambda expressions are used together, the characteristics of stream declarative processing of data sets can make the code concise and easy to read What is flow A stream is a sequence of elements generated from a source that supports data proc ...

Added by tomdumont on Sun, 06 Mar 2022 05:13:16 +0200

MyBatis overview + getting started process

1, Configure the environment variable moven 2, MyBatis Getting started steps 1. Introduce dependency 2. Write entity user Dao User write field get set toString method Methods defined in UserDao 3. Write UserMapper in restore <mapper namespace="com.qcby.dao.UserDao"> <select id="findAll" resultType="com.qcby.entity.User"> ...

Added by cemeteryridge on Sun, 06 Mar 2022 03:39:13 +0200

springboot integration jpa project entry level demo

springboot integration jpa project entry level demo preface1, Create an empty boot project2, Prepare the database, mainly MySQL3, Import dependency4, Generate JPA entities5, JPA basic notes6, JPQL and EntityManager7, Configuration file8, demo package preface Simple basic entry level, no fragrance if you have a foundation! 1, Create an empty ...

Added by phpmoron on Sat, 05 Mar 2022 17:46:11 +0200

[spring] spring integration Mybatis source code analysis

Brief introduction to spring integration Mybatis This article focuses on mybatis spring 1.3.2!The core idea of integration: become the Bean of spring.Implementation of integration: spring Based FactoryBean. Mybatis spring 1.3.2 integration idea Mappercannerregister class is imported through @ mappercan.The mappercannerregister class implemen ...

Added by Jordi_E on Sat, 05 Mar 2022 17:32:41 +0200

[java framework] SpringBoot--SpringBoot implements asynchronous, email and scheduled tasks

1.SpringBoot integration task mechanism 1.1. Spring boot implements asynchronous methods Daily development involves many interactive responses between the interface and the back-end, which are not synchronous. Spring boot provides us with an annotation method to implement asynchronous methods. Make the request response of the front end and th ...

Added by duvys on Sat, 05 Mar 2022 16:09:27 +0200

Roll it up and take you to write a distributed RPC framework that middle and senior programmers will know

I summary What is RPC? Remote service callOfficial: the idea of requesting services from remote computer programs through the network without understanding the underlying network technologyA little more popular: without knowing the details of the call, the client calls an object that exists on the remote computer, just like calling an objec ...

Added by Skipjackrick on Sat, 05 Mar 2022 13:47:51 +0200

Fix the problem that WebClient calls cannot be tracked through Skywalking in the Spring Cloud Gateway project

Solve the problem that WebClient calls cannot be tracked in the Spring Cloud Gateway projectProblem descriptionSkywalking brings non intrusive distributed link collection to java applications through java agent. In the microservice architecture, as a business Gateway, Spring Cloud Gateway generally needs to customize the Filter and call other ...

Added by Maknis on Sat, 05 Mar 2022 11:40:11 +0200

The old question: how to customize the starter with one click in Spring Boot?

Spring Boot starter We know that Spring Boot greatly simplifies the initial construction and development process of the project, which are completed through the starter provided by Spring Boot. Pinda general permission system is developed based on Spring Boot, and some basic modules are starters in essence, so we need to have a comprehensive a ...

Added by the apprentice webmaster on Sat, 05 Mar 2022 10:00:48 +0200