Java notes - Dynamic Proxy
Let's look at a piece of code to simulate the addition, deletion, modification and query function of the database Define an interface, which is the function list of the database
package test.dynamicagent;
public interface User {
public abstract void add(); //increase
public abstract void delete(); //Delete
public abstract void up ...
Posted by greedyisg00d on Wed, 03 Nov 2021 10:22:49 -0700
Mybatis plus from entry to earth
Mybatis plus is a mybatis enhancement tool to simplify development and improve efficiency. The abbreviation mp is used below To simplify the representation of mybatis plus , This article mainly introduces the use of mp with SpringBoot.
Note: the mp version used in this article is the latest version 3.4.2. Please refer to ...
Posted by timvw on Tue, 02 Nov 2021 23:43:57 -0700
Crazy God said smbms project (complete)
catalogue
resmbms
Technical highlights
Preparation for project construction
Implementation of login function
Login function optimization
Implementation of login and logout function
Login interception optimization
Password modification
Optimize password modification using AJAX
User management implementation
1. Get the number of users ...
Posted by sayoko on Tue, 02 Nov 2021 19:20:47 -0700
Go language Bible - Chapter 5 - 5.5 function values
Chapter 5 functions
Function allows us to package a statement sequence into a unit, and then call it many times from other parts of the program. The mechanism of function allows us to decompose a large work into small tasks. We have touched on functions before, and we will discuss more features of functions in this chapter
5.5 function value ...
Posted by defunct on Tue, 02 Nov 2021 18:08:14 -0700
Niu Ke's Diary (November 3, 2021)
Niu Ke's Diary (November 3, 2021)
Title:
Which of the following exceptions is a check type exception that needs to be declared when writing a program ( )
A.NullPointerException
B.ClassCastException
C.FileNotFoundException
D.IndexOutOfBoundsException
Resolution:
Correct answer: C
Here is the reference
The pink ones are checked excep ...
Posted by atoboldon on Tue, 02 Nov 2021 16:49:48 -0700
SpringCloud microservice practice -- building an enterprise level development framework: OpenFeign+Ribbon to achieve load balancing
Ribbon is a load balancing project under Netflix, which mainly realizes the load balancing of middle tier applications. After configuring the service provider address list for the Ribbon, the Ribbon will automatically help the service caller to request based on a load balancing algorithm. The Ribbon provides a variety of load balancing a ...
Posted by gthri on Tue, 02 Nov 2021 14:51:33 -0700
Detailed sorting of Java String class operation methods
The basic operations of String class can be divided into the following categories:
1. Basic operation method
2. String comparison
3. Conversion between string and other data types
4. Character and string lookup
5. Interception and splitting of strings
6. String replacement and modification 1, String basic operation method
First, let's ta ...
Posted by Paavero on Tue, 02 Nov 2021 13:53:08 -0700
Ali P8 summarizes the 10000 word diagram "Java multithreading" concurrent programming practice
preface
I personally think java multithreading is the most difficult part of javaSe. I have learned it before, but I don't know how to start with the real needs of multithreading. In fact, I don't have a deep understanding of multithreading, the application scenario of multithreading api, the running process of multithreading, etc, This articl ...
Posted by vaaaska on Tue, 02 Nov 2021 11:11:45 -0700
Collection Frame Notes
aggregate
First: Set concept
The container of the object, which implements the common operations on the object, similar to the array function.
Two: Differences between sets and arrays
(1) Array length is fixed, set length is not fixed.
(2) Arrays can store basic types and reference types, and collections can only reference types.
Collecti ...
Posted by alexscan on Tue, 02 Nov 2021 09:38:01 -0700
Object oriented (code block, inheritance, difference between method rewriting and method overloading, final keyword)
1. Overview and classification of code blocks
1. Code block overview In Java, code enclosed with {} is called a code block. 2. Code block classification According to its location and declaration, it can be divided into local code block, construction code block, static code block and synchronous code b ...
Posted by deniscyriac on Tue, 02 Nov 2021 08:17:10 -0700