Eclipse + Spring boot development tutorial

I. Preface This article is for reference https://www.cnblogs.com/lsdb/p/9783435.html Learn to organize your study notes. Configuration information: Eclipse IDE for Enterprise Java Developers(Version: 2019-09 R (4.13.0)) Java 1.8 2, Install the Spring plug-in Open Eclipse, select Help - > Eclipse ...

Posted on Tue, 21 Jan 2020 05:49:20 -0800 by xander85

java network programming

In reality, we restrict all aspects of our lives by unified measures and standards. In the virtual world, we must also have such a set of measures to balance the network world. At this time, we use protocols, including TCP protocol and UDP protocol.java.net package provides support for two common networ ...

Posted on Tue, 21 Jan 2020 02:12:35 -0800 by MarcAndreTalbot

Flyweight mode

I. definition Using sharing technology to effectively support a large number of fine-grained objects. Also known as "fly quantity mode". When it comes to sharing mode, the first thing I think about is pool technology. String constant pool, database connection pool, buffer pool and so on a ...

Posted on Mon, 20 Jan 2020 21:09:42 -0800 by a94060

Look at Handler's Messaging Mechanism again

Source Code Analysis of Several Problems on handler Implementation Principle 1. Data structure and implementation of message queues; 2. How to keep the thread state from being destroyed; 3. How Message prioritizes execution and ensures thread security; 4. How to execute directly in the main th ...

Posted on Mon, 20 Jan 2020 19:49:44 -0800 by The Jackel

Introduction to Java - Language Foundation - 09. Loop Structure

Original address: http://www.work100.net/training/java-loop.html More Tutorials: Beam Cloud - Free Course Cyclic structure Sequence Number Intratext chapters video 1 Summary - 2 while Loop - 3 do...while Loop - 4 for loop - 5 Enhance for cycle - 6 break keyword - 7 continue keyword - ...

Posted on Mon, 20 Jan 2020 17:18:02 -0800 by Hillary

Introduction to Java - Language Foundation - 11.switch_case

Original address: http://www.work100.net/training/java-switch-case.html More Tutorials: Beam Cloud - Free Course switch_case Sequence Number Intratext chapters video 1 Summary - See the navigation section above for reading 1. Overview The switch case statement determines whether a variable is ...

Posted on Mon, 20 Jan 2020 17:05:20 -0800 by mitch.craig

HashMap Source Analysis

Source Code Analysis Based on JDK1.7 HashMap Summary HashMap is a collection of key-value pairs with the following data structure: The table is called a bucket, and the size is always a power of 2. When expansion occurs, the map capacity doubles HashMap uses zipper method to resolve Hash conflicts. When conflicts occur, new elements are inser ...

Posted on Mon, 20 Jan 2020 09:46:24 -0800 by jimjack145

Using AOP to realize operation logging in spring boot application

elicit questions In the web application development, it is necessary to record the user's operation log. Next, we will introduce how to use AOP to realize the operation log recording. This article uses Lombok. Students who don't understand it are advised to understand it Introducing dependency First ...

Posted on Mon, 20 Jan 2020 06:06:44 -0800 by leenoble_uk

Why not use Java serialization framework at the bottom of RPC framework?

Recently, I am learning RPC related knowledge. Since it is a remote procedure call, it will involve the problem of transmission on the network. I found that the common RPC framework does not use Java Native serialization mechanism. Let's record the disadvantages of Java sequential words. 1, Disadvanta ...

Posted on Mon, 20 Jan 2020 05:40:47 -0800 by tomtimms

JAVA learning - 10.Math class, Date class, Random class, Calendar Class

Catalog Class Math Date Random Calendar Class Math The Math class, in the java.lang package, contains methods for performing basic mathematical operations, such as elementary exponents, logarithms, square roots, and trigonometric functions. common method For example: public class MathDemo { ...

Posted on Mon, 20 Jan 2020 03:48:52 -0800 by maqmus