Java basic syntax_ 27_ Foundation strengthening 03

1. Integration of management system and server 1.1 preparation [application] demand Improve the previously written dark horse information management system to realize the function that can be accessed through the browser preparation Copy the dark horse management system code in the data to theUTF-8...

Posted by phpDVWeaver on Sun, 25 Jul 2021 05:19:32 +0930

Useless black technology -- framework for automatically generating test object information

Creative purpose When we write test cases, we have to write a lot of set methods to set properties for objects. Sometimes this becomes very boring in order to complete the test cases. So I was thinking, can I write a tool that can automatically generate test objects? So there is a useless testiUTF-8...

Posted by ChrisML123 on Sun, 02 Jan 2022 10:10:13 +1030

MyBatis study notes. My first MyBatis program.

Official documents: https://mybatis.net.cn/getting-started.html 1. Introduction 1.1 what is MyBatis MyBatis is an excellent persistence layer framework.It supports custom SQL, stored procedures, and advanced mapping.MyBatis eliminates almost all JDBC code and the work of setting parameters and UTF-8...

Posted by snowrhythm on Fri, 28 Jan 2022 06:38:24 +1030

Exception handling in Java

Exception handling in Java Definition of exception Exception: in the Java language, abnormal conditions in program execution are called "exceptions". Syntax errors and logic errors in the development process are not exceptions. 1. Abnormal architecture The abnormal events that occur during the UTF-8...

Posted by nadeemshafi9 on Thu, 31 Mar 2022 09:59:50 +1030

PowerMock: Java unit testing techniques

preface When talking about methodology to the teacher, Gao De's technical boss said: "complex problems should be simplified and simple problems should be deepened." This sentence makes me feel deeply. This is not a set of code writing methods - split a complex logic into many simple logic, theUTF-8...

Posted by giba on Mon, 04 Apr 2022 10:57:44 +0930

[Spring source code analysis] XmlBeanFactory file resource loading (including timing diagram)

1 Introduction When using Spring there is always confusion about how Spring manages Spring bean s. There is also a lot of mixed information on the Internet. Here I record some of the content that I have separated from the book after reading "Spring Source Code In-depth Analysis" recently. SpeakUTF-8...

Posted by daddymac on Thu, 21 Jul 2022 01:58:20 +0930

Bean automatic assembly (autowire)

introduce Autowiring is a way for Spring to satisfy bean dependenciesThe spring context will automatically find and automatically assemble the beanThere are three ways of automatic assembly in spring 1. Configuration displayed in xml 2. Configuration shown in Java 3. Implicit automatic assemblUTF-8...

Posted by amitshah on Sun, 27 Nov 2022 09:21:24 +1030

In-depth analysis of the four artifacts of Java: unit testing, reflection, annotations, dynamic proxy

As the software development industry grows, software quality becomes an increasingly important issue. While ensuring software quality, developers also need to develop software with complete functions quickly and efficiently. Unit testing, reflection, annotation and dynamic proxy are just four iUTF-8...

Posted by s0me0ne on Sun, 12 Mar 2023 11:21:11 +1030

Junit, reflection, annotations

Junit, reflection, annotations Junit unit test Test categories: Black-box testing: No need to write code, give the input value to see if the program can output the expected value White box testing: need to write code, pay attention to the specific execution process of the program Junit usage: UTF-8...

Posted by aQ on Sat, 25 Mar 2023 16:52:01 +1030