Introduction to Spring AOP and its underlying implementation mechanism -- dynamic proxy

AOP introduction AOP (aspect oriented programming) is called: aspect oriented programming, which is a kind of programming idea. AOP is the continuation of OOP (Object Oriented Programming) AOP adopts horizontal extraction mechanism to replace the traditional vertical inheritance system of repetitive code writing (such as performance monitori ...

Posted by frANZi on Thu, 12 Dec 2019 23:43:41 -0800

Four registration postures of Listener in spring boot series

Filter and servlet, the three elements of java web, are introduced respectively. Next, let's take a look at the related knowledge points of Listener. The main content of this blog is how to customize the Listener and register it to the spring container in the spring boot environment <!-- more --> I. environment configuration 1. Project co ...

Posted by madcat on Thu, 12 Dec 2019 22:01:42 -0800

Two-way one-to-many Association in JPA

scene Introduction to JPA and HelloWorld (with code download): https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/103473937 Implement one-way many-to-one associations in JPA: https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/103511623 One-way one-to-many associations are implemented in JPA: https://blog.csdn.net/BADAO_LIUMANG_QIZ ...

Posted by baselineace on Thu, 12 Dec 2019 19:47:12 -0800

Spring boot integrated email sending

This section describes how to quickly configure and send mail for spring boot project, including simple mail configuration, sending simple mail, sending HTML mail, sending mail with attachments, etc. The sample source code is: https://github.com/laolunsi/spring-boot-examples I. mailbox configuration To ensure that the client login service is e ...

Posted by YourNameHere on Thu, 12 Dec 2019 13:41:06 -0800

Algorithm problem: copy the linked list with random pointer

Topic Description: given a linked list, each node contains an additional random pointer, which can point to any node or empty node in the linked list. Requirement: return the deep copy of this linked list. Idea: first, change the structure of the original list. After each node, a copy of the node is copied. After traversing the ...

Posted by rcatal02 on Thu, 12 Dec 2019 11:54:06 -0800

Design pattern and XML strategy pattern (C + +)

I. purpose and requirements of the experiment 1. Master the concept of behavioral model. 2. Master the construction and usage of memo mode, observer mode, state mode, strategy mode, template mode and visitor mode. II. Experimental equipment (environment) 1. Software requirements: Dev-Cpp5.4, Rational Rose / Microsoft Visio ...

Posted by Potatis on Thu, 12 Dec 2019 10:53:49 -0800

Blockchain tutorial Fabric1.0 source code analysis chain code language platform

Chain code and platform of Fabric 1.0 source code Notes 1. Overview of platforms The platforms code is centralized in the core/chaincode/platforms directory. core/chaincode/platforms directory, the programming language platform implementation of chain code, such as golang or java. Platform.go, platform interface definition, and platform related ...

Posted by vaaaska on Thu, 12 Dec 2019 09:20:28 -0800

Wechat applet docking to display Alibaba cloud database data

Realistic demand In the project, sometimes the field equipment fails, which needs to be known by the remote personnel. In addition to the way of email, the way of wechat applet is also very good. Try it today and make a demo version. 1. Wechat applet application production front end 1.1 lists file (use template and data bind ...

Posted by Hamish on Thu, 12 Dec 2019 08:45:13 -0800

Upload and download alicloud OSS files in Linux Shell script

background In the work, because the log files generated by our project are very important, and the local disk space is limited for a long time, so considering the backup scheme, we originally intended to save them on nas, but due to various reasons, we communicated with the operation and maintenance department to suggest saving them on oss. Bec ...

Posted by jmrouleau on Thu, 12 Dec 2019 06:34:17 -0800

One way many to one association in JPA

scene Introduction to JPA and building HelloWorld (with code download): https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/103473937 After the HelloWorld of JPA is built in the above blog, only the database mapping is completed for the customer entity class. How to realize the one-way many to one mapping. Note: Blog home page: https://bl ...

Posted by Richter on Thu, 12 Dec 2019 06:06:55 -0800