When using Tomcat9.0, spring5.0 framework original factory class decoupling, druid-1.0.9jar version, JDK9, MSQL8 version database to simulate web page login case, an error message that the druid.properties file cannot be found appears, the details are as follows [Case code posted at the end]; Normally speaking, the configuration file is placed under the src directory, and […]
Tag: decoupling
A practice of decoupling Android complex UI interface into modules
1. Problems with complex UI page development Common and complex UI interfaces, such as e-commerce homepages, let’s take a look at part of the UI on the homepage of an e-commerce company: The above is an intercepted part of the homepage. What problems will be encountered if this homepage is developed without dividing it into […]
[YOLO Improvement] Addition of Efficient Decoupled Head decoupling head
Directory theoretical knowledge Decoupling and understanding in YOLOX Decoupling header in YOLOv6 YOLOv5 uses the Efficient Decoupled Head proposed by YOLOv6 experiment VisDrone dataset Experimental results Theoretical knowledge Decoupling and understanding in YOLOX The decoupling head was proposed in YOLOX. It can be seen that the original detection head of YOLO is coupled. The number […]
SpringBoot Web layered decoupling
Directory Layered decoupling Three-tier architecture introduce code splitting Layered decoupling coupling problem Decoupling ideas IOC (Inversion of Control) & DI (Dependency Injection) Getting Started with IOC &DI Detailed explanation of IOC bean declaration Component scan Detailed explanation of DI In the case of SpringBoot Web Request Response, it is mentioned that parsing XML data, code […]
Elasticsearch use – combined with MybatisPlus to use ES & es and MySQL data consistency & combined with RabbitMQ to achieve decoupling
Foreword This blog is a use case of elasticsearch, including using ES with MybatisPlus, how to ensure the data consistency between MySQL and es, and using RabbitMQ for decoupling and customizing the method of sending messages. The list of other related Elasticsearch articles is as follows: Installation and parameter settings of the Docker version of […]
Decrypting DDD: Domain events–the ultimate weapon for system decoupling
This is a community that may be useful to you One-to-one communication/interview brochure/resume optimization/job search questions, welcome to join the “Yudao Rapid Development Platform” Knowledge Planet. The following is some information provided by Planet: “Project Practice (Video)”: Learn from books, “practice” from past events “Internet High Frequency Interview Questions”: Studying with your resume, spring blossoms […]
Layered decoupling–three-tier architecture–IOC&DI
1. Case In one case: the code for parsing XML data, obtaining the data, the code for processing the logic of the data, and the code for responding to the page are all piled together, and they are all written in the controller method. There is a problem: When we want to modify the code […]
Decrypting DDD: Domain events–the ultimate weapon for system decoupling
1. Application scenarios Suppose you are a developer of order services and are developing the business function of successful payment. After deep learning DDD, you write a set of beautiful code. @Transactional public void paySuccess(Long orderId){ // 1. Obtain and verify the validity of the order aggregate root Order order = this.orderRepository.getById(orderId); if (order == […]
SpringBoot’s request response and its layered decoupling
SpringBoot’s request response and its layered decoupling 1. Request 1.1 Simple parameters 1.2 Entity parameters 1.3 Array parameters 1.4 Collection parameters 1.5 Date parameters 1.6 JSON parameters 1.7 Path parameters 2. Response 3. Layered decoupling 1. Request 1.1 Simple parameters Simple parameters mean that the requested parameters are passed to the server in the form […]
Implementing delay queue decoupling business based on redisson
Foreword What I share with you today is a delay queue implemented based on redisson. There is a first version of the encapsulation tool. Users only need to care about the processing of the data obtained when the delay time is up (or process it before, and only do the remaining business when the time […]