Talk about JVM class loading
ClassLoader: A class loader responsible for loading a Class into the JVM and resolving the Class byte code into an object format that is universally required by the JVM.The entire life cycle consists of seven phases: loading, validating, preparing, parsing, initializing, using, and unloading.
1. How to load the class file
1.1, Loading
G ...
Posted by willsavin on Tue, 14 Apr 2020 20:21:47 -0700
One Day Mode - Visitor Mode
1. The concept of visitor mode
Encapsulates operations that act on elements in a data structure to define new operations on those elements without changing the data structure.
If you understand this sentence, you don't have to look down. It means you will.
I don't understand, I think it's normal. If you can learn with one sentence, no ...
Posted by tarscher on Tue, 14 Apr 2020 11:33:13 -0700
@ Conditional and @ ConditionalXXX of spring boot
The most amazing feature of spring boot should be automatic configuration. Since the moment you introduced spring boot starter XX, spring boot has done a lot of work for us later. Let's talk about how the whole process is organized later. Today we'll take a look at @ Conditional, a key annotation in spring boot that determines whether a bean or ...
Posted by vcv on Tue, 14 Apr 2020 10:38:39 -0700
From the beginning to the end, I'll teach you how to build Java projects with Maven
This guide will guide you through building a simple Java project using Maven.
What will you build
You will create an application that provides the time of day, and then build it using Maven.
What do you need?
1. About 15 minutes 2. Favorite text editor or IDE 3. JDK 8 or later
How to complete this guide
You can start from scratch and co ...
Posted by rich11 on Tue, 14 Apr 2020 05:30:15 -0700
Object oriented core technology (java)
1, Class encapsulation details
As mentioned in "java", encapsulation is the core idea of object-oriented programming. At the same time, we also know that classes are carriers, but we encapsulate the properties and behaviors of objects in the carriers.
Now we use the way of encapsulation to realize that a customer goes to a restaura ...
Posted by andycastle on Tue, 14 Apr 2020 04:44:16 -0700
About ArrayBlockingQueue [reprint]
Reproduced from: About ArrayBlockingQueue
1, introduction
ArrayBlockingQueue, as the name implies: array based blocking queue. Array is to specify the length, so you must specify the length when using ArrayBlockingQueue, that is, it is a bounded queue.
It implements the BlockingQueue interface, with all methods of queue, collection and bloc ...
Posted by amma on Mon, 13 Apr 2020 21:18:18 -0700
Vue Learning Notes Component
Vue Learning Notes (3) Components
component is the core function of Vue.
<body>
<div id="app">
<my-component :lists="lists"></my-component>
</div>
<div id="app1">
<my-component :lists="booksName"></my-component>
</div>
<script src="../vue.js" ...
Posted by WendyLady on Mon, 13 Apr 2020 10:26:09 -0700
Spring Boot integrated keyload
Preface
Reference in this article A Quick Guide to Using Keycloak with Spring Boot , sort out the problems encountered in the actual combat.
Docker installation keyload
Download mirroring
quay Download Image
docker pull quay.io/keycloak/keycloak
If you fail, try again.
Start keyclock
docker run -p 6060:8080 -e KEYCLOAK_USER=admin -e KEYCLOAK_PA ...
Posted by julien on Mon, 13 Apr 2020 09:42:58 -0700
Network data analysis of python learning
regular expression
Actually, there are four main steps for reptiles:
Clear goals (know where you are going to search or where you are going to search)
Crawling (crawling all the contents of the website)
Take out (get rid of the data that is useless to us)
Process data (store and use as we want)Regular expressions, also known as regular expre ...
Posted by DasHaas on Mon, 13 Apr 2020 08:24:20 -0700
Deep analysis of five "black magic" in Java
Nowadays, programming languages are becoming more and more complex. Despite a large number of documents and books, these learning materials can only describe the tip of the iceberg of programming languages. Many of the functions in these programming languages may be hidden in the dark forever. This article will explain the secrets hidden in fi ...
Posted by Warz on Mon, 13 Apr 2020 00:19:32 -0700