Beginner springboot -- CH05 springboot integration MyBatis

Use the MyBatis framework to manipulate data and integrate MyBatis in the SpringBoot framework Use steps: 1.mybatis start dependency: complete the automatic configuration of mybatis objects, and put the objects in the container 2.pom.xml specifies that the xml files in the src/main/java directory are included in the classpath 3. Create ...

Posted by mikeoffy69 on Sat, 19 Feb 2022 20:45:14 +0100

java: exception, File, recursion

abnormal Abnormal conditions refer to abnormal conditions of the program Corresponding to the classification of exceptions in java, exceptions in java: Throwable serious problems: Error, we don't handle them. Such problems are generally very serious. For example, memory overflow (OOM) problems: exceptions (exceptions) compile time exceptions: ...

Posted by impressthenet on Sat, 19 Feb 2022 20:16:53 +0100

Detailed explanation of Java collection framework

Java collection framework (III) Map interface Characteristics of Map implementation class Map: double column data, which stores the data of key value pairs, similar to the function of high school, y=f (x) Implementation class: HashMap: as the main implementation class of Map; Unsafe thread and high efficiency; null key s and value s ca ...

Posted by Robin M on Sat, 19 Feb 2022 20:11:49 +0100

How does Spring solve circular dependency

1. Preface Cyclic dependence : is N class circular (nested) references. Generally speaking, N beans refer to each other and finally form A closed loop. It can be represented by A classic diagram as follows (A, B and C all represent objects, and the dotted line represents reference relations): ​ In fact, it can be N=1, that is, the cyclic ...

Posted by classic on Sat, 19 Feb 2022 19:39:27 +0100

Depth first search of graph algorithm series

Hematemesis sorting programmer must read list: https://github.com/silently9527/ProgrammerBooks WeChat official account: beta Java In the first part, we learned depth first search and knew how to find the path in the graph through depth first search; In this article, we continue to learn other application scenarios of depth first search alg ...

Posted by sailu_mvn on Sat, 19 Feb 2022 19:35:42 +0100

Spring MVC learning - Introduction and initial page construction

1, Introduction to spring MVC 1. What is MVC MVC is an idea of software architecture, which divides software according to model, view and controller M: Model, the model layer, refers to the JavaBean in the project, which is used to process data JavaBean s fall into two categories: One is called entity Bean: it is used to store business dat ...

Posted by travelerBT on Sat, 19 Feb 2022 19:21:14 +0100

3. Single case design mode

3.1 introduction The so-called class singleton design pattern is to take certain methods to ensure that there can only be one object instance for a class in the whole software system, and the class only provides a method to obtain its object instance (static method). 3.2 eight ways of single case design mode 1) Hungry Han formula (static con ...

Posted by lorne17 on Sat, 19 Feb 2022 18:23:36 +0100

Java graphics processing framework thumbnail

Thumbnail is a thumbnail generation library for Java. Supported processing operations: image scaling, region clipping, watermark, rotation, maintaining proportion. 1. Why use thumbnail Making high-quality thumbnails in Java is a very difficult task. Learn how to use image I/O API, Java 2D API, image processing, image scaling technology,... ...

Posted by definewebsites on Sat, 19 Feb 2022 18:03:23 +0100

Summary of simulated interview questions

Summary of simulated interview questions  First round interview questions catalogue Summary of simulated interview questions First round interview questions 1, Describe the characteristics of the transaction ACID in the database. 2, What is springboot? Which version does your company use? Second round interview questions The third round ...

Posted by prion on Sat, 19 Feb 2022 17:53:19 +0100

Analysis of Android HAL layer framework

The previous analysis shows how the android HAL layer searches for the dynamic shared library of hardware modules. In fact, it is to find the shared library modueid under the two paths of "system/lib/hw /" or "/ vendor/lib/hw /" variant. After so, load the library by calling the load function. Now let's enter the load funct ...

Posted by polybiosis on Sat, 19 Feb 2022 17:39:38 +0100