ssm integration configuration, understanding of the role of each layer of ssm, interpretation of configuration files of each layer of ssm, web program startup and web.xml understanding

Tomcat server load order Tomcat startup When tomcat starts, it will load the web.xml file. When loading the web.xml file, it will read many configuration parameters together, such as,, etc. there are two kinds of servlet loading, one is to load when accessing, and the other is to load when the server starts (only need to be set to 1). Lo ...

Posted on Mon, 29 Nov 2021 11:20:22 -0500 by doberman

Mybatis:Mybatais Generator reverse engineering from scratch

Mybatis Generator reverse engineering from scratch Build environment Idea 2021.1MavenSpring BootMysql Maven configuration <dependencies> <!--Spring BottMybatis--> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</a ...

Posted on Mon, 29 Nov 2021 09:55:54 -0500 by nanban

Spring -- thirteen experiments of configuring bean s based on Xml

public class Person { private String name; private int age; private String email; public Person() { } public Person(String name, int age, String email) { this.name = name; this.age = age; this.email = email; } public String getName() { return name; } public void set ...

Posted on Mon, 29 Nov 2021 08:12:50 -0500 by JustLikeIcarus

Student information management system based on Spring MVC + Spring + MyBatis

Resource download: https://download.csdn.net/download/weixin_44893902/45603211 Exercise point design: fuzzy query, delete, add 1, Language and environment Implementation language: JAVA language.Environment requirements: MyEclipse/Eclipse + Tomcat + MySql.Use technology: Jsp+Servlet+JavaBean or spring MVC + Spring + mybatis. 2, Realiz ...

Posted on Sun, 28 Nov 2021 22:36:28 -0500 by insanityonline

java basics-multithreading Basics

Parallel and Concurrent Parallel: Multiple CPU instances or machines executing a piece of processing logic at the same time are truly simultaneous. Concurrency: A CPU or a machine, through the CPU scheduling algorithm, makes the user appear to be executing at the same time, actually not at the same time from the CPU operation level. Conc ...

Posted on Sun, 28 Nov 2021 17:28:55 -0500 by nate2687

Eight reasons why Spring transactions take effect

This is a question asked by the interviewer in the previous interview. I didn't answer it very well, so I'll summarize it here (my summary may be lacking, but the interview is enough) 1. The database engine does not support transactions Let's take MySQL as an example. MyISAM engine does not support transaction operations. InnoDB is the engi ...

Posted on Sun, 28 Nov 2021 13:20:59 -0500 by mesz

Ultra fine Spring learning notes

Introduction to Spring Spring is an open source framework and a layered Java EE one-stop framework. The so-called one-stop framework means that Spring has every layer of solutions developed by Java EE. WEB layer: Spring MVCService layer: Spring Bean management, declarative transactionDAO layer: Spring JDBC template, ORM template advantage: ...

Posted on Sun, 28 Nov 2021 09:54:12 -0500 by Danicek

The first time of detailed notes: learning the integration of ssm - day 7 of CRUD (2021-11-27) 5

The first time of detailed notes: learning the integration of ssm - day 7 of CRUD (2021-11-27) 5 28. Modification_ Create modify modal box for employee Now let's do the function of this button. requirement: Click the Edit button of a line of employee information. First, all the information of the employee will be displayed in the modal box. ...

Posted on Sat, 27 Nov 2021 14:19:15 -0500 by mikr

Java Callback Function + Use Case

Preface When I saw this paragraph code in Handler, I was confused Map<Method, T> methods = MethodIntrospector.selectMethods(userType, (MethodIntrospector.MetadataLookup<T>) method -> { try { return getMappingForMethod(method, userType); } catch (Throwable ex) { throw new IllegalStateException("Invalid mapping o ...

Posted on Sat, 27 Nov 2021 13:31:18 -0500 by BrettCarr

try-catch-finally is easy to understand by byte code

Hello, I'm Architect Jun, an architect who writes code and poems. Today, let's talk about try-catch-finally by byte code. I hope you can help everyone improve!!! scene For the following code: public int test() { int x; try { x = 1; return x; } catch (Exception e) { x = 2; return x; } finally { x = 3; } } Just hear the voice of Architecture ...

Posted on Sat, 27 Nov 2021 13:05:35 -0500 by katie77