Online education - instructor management interface development, Swagger2 introduction, unified log processing, 07 unified exception processing

Development of online education lecturer management interface 01 - instructor management module configuration and generation code 1, Instructor management module configuration 1. Create a configuration file in the service edu module under service Create the file application. In the resources directory properties # Service port server.por ...

Posted by AlexRodr on Sat, 18 Dec 2021 06:18:37 +0100

Java logging framework learning notes

Java Log frame 0 mainstream Java logging framework Mainstream Java logging framework: ​ 1.JUL - can not be divided into days and files, and is supported to be eliminated ​ 2.log4j - old and mainstream log framework Log facade frame 3.JCL - only supports JUL and log4j, which is obsolete 4.slf4j - the main ...

Posted by jarcoal on Sat, 18 Dec 2021 05:45:24 +0100

Development of Android CameraX face recognition program based on hongsoft

1, Foreword Requirement: obtain the user information registered in the system according to the face seen in the lens Design scheme: ① Registration: the user takes pictures from the front-end system and sends them to the back-end for registration. The back end analyzes the face feature data of the picture and saves the feature data to the use ...

Posted by guru2k9 on Mon, 13 Dec 2021 04:50:15 +0100

2021SC@SDUSC BRPC source code analysis thrift

2021SC@SDUSC BRPC source code analysis (XII) thrift thrift Introduction to thrift Thrift is a widely used RPC framework. It was first published by Facebook and later maintained by Apache. In order to communicate with thrift services and solve a series of problems of thrift native solution in terms of multithreading safety, ease of use and ...

Posted by sukanya.paul on Sun, 12 Dec 2021 12:38:13 +0100

Preliminary understanding log4j2 and use

Use of log4j2 Apache Log4j2 is an upgraded version of Log4j. It refers to some excellent designs of logback and fixes some problems, so it comes with Some major improvements have been made, mainly including: Exception handling. In logback, exceptions in the Appender will not be perceived by the application, but in log4j 2, some exceptions ...

Posted by webchef on Thu, 09 Dec 2021 17:25:45 +0100

Apache ShenYu source code reading series - Http registration of the implementation principle of the registry

Apache ShenYu Is an asynchronous, high-performance, cross language, responsive API gateway. In ShenYu gateway, the registration center is used to register the client information with ShenYu admin, and the admin synchronizes the information to the gateway through data synchronization. The gateway completes traffic filtering through these data ...

Posted by danelkayam on Tue, 07 Dec 2021 19:34:47 +0100

What about the Java logging framework

During project development, we can find problems through debug. In the online environment, we can only find problems by printing logs. Therefore, logging is a very important issue for a project. Therefore, how to choose an appropriate logging framework is also very important. In Java development, common logging frameworks include JDKLog, Log4J ...

Posted by howtoholdem on Tue, 07 Dec 2021 18:12:54 +0100

An Android Demo using APT + bytecode instrumentation to optimize code design

This article, in the form of a Demo, describes the use of APT and bytecode instrumentation, and how to use them to optimize code design. 1, Introduction of Demo 1.1 requirements description Assuming that there is such a scenario, we have an application to display various cards, including CNACard and CNBCard, which are only displayed at home, ...

Posted by nfr on Fri, 03 Dec 2021 06:47:50 +0100

Blog recommendation | zero experience play isolation strategy: multiple Pulsar clusters

Warm tip: This is the "Pulsar fool's Manual", with zero experience, small white pit lightning protection. As long as you follow the instructions, the success rate is 100%!This article is the second in the Pulsar isolation strategy series. The first blog in this series -   "How to realize isolation in Pulsar by deep resolutio ...

Posted by YourNameHere on Mon, 29 Nov 2021 13:40:58 +0100

SpringBoot basic configuration

Copy project 1. Retain the engineering infrastructure 2. Erase the original engineering trace Steps: 1. Copy the created folder into a springboot_0x_xxxxxxx folder 2. Enter springboot_ 0x_ XXXXXXXX modify factid 6 in pom.xml file 3. Delete unnecessary files, leaving only src and pom.xml files 4. Then spring boot_ 0x_ XXXXXXXX can be used as a ...

Posted by chrispos on Fri, 19 Nov 2021 18:38:01 +0100