The new SpringBoot tutorial of the required framework (Part 2)
Personal profile
The author is a junior from Heyuan. The following notes are some shallow experience of the author's self-study road. If there are mistakes, please correct them. In the future, we will continue to improve our notes to help more Java lovers get started.
SpringBoot+JDBC
1. Import JDBC and mysql dependencies
In POM XML import t ...
Added by jredwilli on Tue, 08 Mar 2022 07:59:29 +0200
Monitoring task life cycle: observer mode in multithreading
The content of this paper is summarized in< Java Detailed explanation of high concurrency programming multithreading and architecture design
Observer mode review
As for the specific implementation, this article will not introduce it. You can view the link ->Observer mode case.
The core of the observer model can be summarized as f ...
Added by mariocesar on Tue, 08 Mar 2022 04:32:56 +0200
Web~Maven foundation - what is Maven? How do I use Maven?
catalogue
I What is Maven
Maven project file structure:
II Maven's configuration file - POM xml
III Dependency management
1.maven warehouse
2. In POM Configure dependency in XML file
IV Lifecycle and its related commands
V Order in which Maven loads dependent packages
I What is Maven
Maven: project construction tool, packaging tool
...
Added by hvle on Mon, 07 Mar 2022 11:33:31 +0200
Microservice automation. 05 Use of idea plug-in
Docker is used in combination with Idea plug-in
1, Install docker plug-in
1. New idea project
2. Check whether there is a Docker in the plug-in
3. In docker The port number is indicated in the service file
modify
Docker
Service file
,
Comment out
"ExecStart"
This line and add the following information
ExecStart=/usr/bin ...
Added by metroblossom on Sat, 05 Mar 2022 13:31:06 +0200
Day 10 of learning to use IntelliJ IDEA: Java advanced syntax - multithreading
1, Understanding of programs, processes and threads
1. Program
Concept: it is a set of instructions written in a certain language to complete a specific task. Refers to a piece of static code.
2. Process
Concept: an execution process of a program, or a running program.
Note: as the unit of resource allocation, the system will allocate diff ...
Added by bloodl on Fri, 04 Mar 2022 12:03:33 +0200
Chapter 5 note inheritance, interface and abstract class
Chapter 5 note inheritance, interface and abstract class
Section I succession
Subclasses inherit all properties and methods of the parent class (but cannot directly access private members)According to the information hiding principle: the subclass will inherit all the methods of the parent class. Can be used directlySubclasses can access ...
Added by sharugan on Thu, 03 Mar 2022 17:29:26 +0200
There are six common ways for Spring to inject bean s
I General form of annotation injection
Bean class
public class TestBean{
}
Configuration class @The Configuration annotation marks this class, which indicates that this class is a Spring Configuration class. It will be loaded when loading the Configuration.
@The annotation of Bean indicates that this is a method of injecting Bean, which wi ...
Added by mubashir on Thu, 03 Mar 2022 09:06:09 +0200
Spring Quick Start - Configuring Data Sources & Note Development
Spring Configuration Data Source
Role of data sources (connection pools)
Data sources (connection pools) occur to improve program performancePre-instantiate the data source to initialize partial connection resourcesGet from data source when using connection resourcesReturn the connected resource to the data source after useCommon data sources ...
Added by jkatcherny on Wed, 02 Mar 2022 19:25:44 +0200
Using nacos as the configuration center
nacos Alibaba is an open source application architecture. Its core is "service", which provides a series of functions such as service discovery, configuration center and micro service management around services.
The reason for choosing nacos is Chinese ecology, which is simple and easy to use.
Key features of nacos (extracted from o ...
Added by mrinfin1ty on Wed, 02 Mar 2022 10:52:44 +0200
Learn to insert Gaode map JS API and map related settings into Vue project. It's enough to read this article ~ (nanny level simplified teaching)
Gaode map API official website: Gaode open platform | Gaode map API . Since the blogger is developed based on the front-end Vue framework, the map JavaScript API * * * * is introduced in combination with Vue.
1, Case effect
2, Development preparation
It should be noted that if you want to use JS API, you must register an account and ...
Added by Daukan on Wed, 02 Mar 2022 07:09:23 +0200