Solving errors in web projects, java.io.FileNotFoundException: druid.properties (the system cannot find the specified file); [spring factory decoupling development]

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 […]

[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 […]

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 […]