1. Modify in maven projectPom.xmlIntroduce dependencies on spring.<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
Posted by jason102178 on Sun, 05 Jul 2020 07:40:05 -0700
IOC introduction of Spring
Spring's IOC idea
One of Spring's core ideas: IOC (Inversion Of Control) Inversion Of Control.
Inversion Of Control (IOC): it is an important feature of the framework to hand over the creation, initialization, destruction and other work of objects to the framework. It's no ...
Posted by Robin M on Thu, 18 Jun 2020 03:34:40 -0700
Using logback instead of log4j is because logback is another open source log component designed by the founder of log4j. The kernel of logback has been rewritten and its performance has been improved by more than 10 times on some key execution paths. Moreover, the logback not only improves the performance, but also reduces the initial memory lo ...
Posted by 7724 on Thu, 28 May 2020 01:53:36 -0700
Previous article: Build your first blockchain network (3)
UTXO is an important concept in bitcoin. In this section, we will implement a simple UTXO. We divide the components of UTXO into the following three points:
UTXOId: identify the UTXO
TxInput: transaction input, i.e. input address and amount of coin
Posted by tomtimms on Tue, 19 May 2020 05:33:23 -0700
2. Log face
3. Log Library
4. Log adapter
5. Selection of log base
6.logback.xml configuration file
When it comes to logging tools, you must have heard these terms in your daily work or study: log4j, logback, jdk-logging, slf4j, commons-logging, etc. What is the relationship between them and what is their role ...
Posted by dk4210 on Wed, 13 May 2020 19:21:52 -0700
Springboot configuration log configuration file location
Spring boot log classification
log4j: an open source log component implemented by apache
logback: it is also designed by the author of log4j. It has better features. It is a log framework used to replace log4j and is the native implementation ...
Posted by aris1234 on Tue, 28 Apr 2020 19:41:38 -0700
Log4j output log to separate log file
09:01:03, January 31, 2018
Number of readings: 1065
Under normal circumstances, the info log of log4j will be printed to a unified log file. When you need to view the execution of a specific function, print a specific function to a specific ...
Posted by rajah on Sat, 25 Apr 2020 07:31:37 -0700
1. New Project
Create a new Maven project in IDEA using the Maven Archetype prototype: maven-archetype-webapp
The new project structure is:
2. New package directory
New Java Code Directory: src.main.java
New hierarchical model package under src.main.java, groupId with project (for reference only)
common: store global variables, public enum ...
Posted by Felex on Sat, 04 Apr 2020 10:17:31 -0700
In the previous article, we introduced build dubbo distributed platform maven build ant parent project. The framework uses maven to build. According to our plan, we need to build all subprojects. Today, we focus on the construction process of ant config configuration file project.
Introduction: The purpose of independent ant config project is ...
Posted by adaykin on Fri, 03 Apr 2020 21:35:27 -0700
1, Create a project (this article takes the project that Idea builds based on Maven as an example)
I choose my local Maven and configuration here
Finally, click Finish
2, Add dependency package in configuration file
Add package dependency of Mybatis, JDBC driver and log4j log management ...
Posted by piyushsharmajec on Fri, 03 Apr 2020 18:46:29 -0700