From JDBC to the minimalist version of MybatiesJDBC, automatic parsing of configuration files

brief introduction To be frank, there is a class called properties in Java. This class is mainly used to read Java configuration files. Different programming languages have their own supported configuration files. Many variables in the configuration file are often changed. In order to facilitate user configuration, users can modify relevant va ...

Posted by TechGuru on Sun, 16 Jan 2022 20:38:27 +0100

If, if else, while, do while, switch and for execution statements of java

1, java execution statement Classification: 1. Sequential statement: the code in the method is executed from top to bottom 2. Branch statement: specify different functions according to different conditions 2.1 if branch 2.2 switch branch 3. Circular statement: if the condition is true, a function will be executed repeatedly 3.1 for loop 3.2 wh ...

Posted by Muggin on Sun, 16 Jan 2022 01:11:38 +0100

Summary of common Java classes and methods - Crazy Lecture Notes

Common classes and methods 1.1 concept of class Class: a class is a template that describes the behavior and state of a class of objects. Problem: explain the base class, subclass, derived class, parent class and superclass in the class A: base class, parent class and superclass all mean the same thing, but they are just different terms. The ...

Posted by flyersman on Fri, 14 Jan 2022 11:47:48 +0100

Spring MVC custom processor mapper and processor adapter

Spring MVC processes http requests through the handler mapping and handler adapter. When a request passes through the dispatcher servlet, the dispatcher servlet will select an appropriate handler mapping and handler adapter to process the request. By customizing the processor mapper and processor adapter, we can learn how spring MVC handles a ...

Posted by 7awaka on Thu, 13 Jan 2022 00:37:07 +0100

static keyword, abstract class, interface, internal class

static keyword explanation package com.mao.oop.demo07; //Static: public class Student { private static int age;//Static variable multithreading! private double score;//Non static variable public void run(){ go();//Non static methods can call things in static methods } public static void go(){ } publi ...

Posted by fernandodonster on Wed, 12 Jan 2022 11:46:32 +0100

Who is occupying my port in Linux

The prompt Address already in use must have been encountered. How can we quickly find and solve the problem? Here are several postures to learn about When troubleshooting network connectivity or application specific problems, one of the first things to check should be which ports are actually used on the system and which application is liste ...

Posted by nadz on Tue, 11 Jan 2022 10:52:36 +0100

There should be no more detailed tutorial on RabbitMQ!

@[toc] since August, many RabbitMQ tutorials have been serialized intermittently. Recently, I took time to sort them out. There may be a video tutorial in the future. Please look forward to it. 1. Common message oriented middleware large PK When it comes to message oriented middleware, it is estimated that everyone can talk about ActiveMQ, Ra ...

Posted by kaisellgren on Mon, 10 Jan 2022 09:19:15 +0100

Maven's installation, configuration, command and detailed teaching

Why should we learn maven? Before maven was born, we had a lot of inconvenience in making the project. 1: jar packages are hard to find 2: jar package dependency 3: Jars are inconvenient to manage (manage jar s according to different functions) 4: Project compilation Introduction to Maven Maven is an open source project o ...

Posted by webtuto on Mon, 10 Jan 2022 05:40:01 +0100

Javaweb--JSP development model (including practical projects)

Javaweb - JSP development model (including actual projects) System development model, that is, system development architecture, is a large structure for integrating application systems. The common system structures are three-tier architecture and MVC. The two architectures are both related and different. The use of these two architectures i ...

Posted by makeITfunctional on Sat, 08 Jan 2022 16:47:05 +0100

Java learning -- detailed explanation of generics

generic paradigm The specific type is specified only when creating an object or calling a method advantage The essence of generics is to parameterize types, that is, to control the types of formal parameters by specifying different types through generics without creating new types. Improve code reusability The introduction of gene ...

Posted by sarbas on Thu, 06 Jan 2022 11:04:37 +0100