The simplest spring boot integrated Spring Data JPA tutorial
At the beginning of using the spring boot development project, the Spring Data JPA used by the ORM framework was only used intermittently for more than a year, without making some summary. Taking advantage of the current serious epidemic situation and little work, I will take a note and record the gener ...
Posted by midge1970 on Tue, 11 Feb 2020 23:53:38 -0800
Take a quick look at jdk8
You've been watching java concurrently and you've been saying a bit too much. Just relax!This time, let's briefly talk about jdk8, which has not been used for a long time and is new to us. It's interesting to look at it carefully. Let's turn our brain into an angle to write code. Because we usually write code in jdk7 now, we are all thinking ab ...
Posted by Xephon on Tue, 11 Feb 2020 10:42:17 -0800
Find out in 10 minutes How does SpringBoot gracefully read configuration files?
This article is and is included in the springboot-guide (not just SpringBoot but also Spring Key Knowledge Points), address: https://github.com/Snailclimb/springboot-guide .Make it easier for you to learn Spring!If you feel good, welcome to a Star!
Many times we need to put some commonly used configuration information such as Aliyun oss confi ...
Posted by vincent30000 on Sat, 08 Feb 2020 19:56:20 -0800
DDD congestion model code example
Anemia model
We generally use three-tier architecture for business development:
Repository + Entity
Service + BO(Business Object)
Controller + VO(View Object)
In the three-tier architecture business development, we often use the development mode based on the anemia model. Anemia model refers to th ...
Posted by Xproterg^vi on Thu, 06 Feb 2020 21:40:17 -0800
Alibaba Java Development Manual Codes Effective Details-An Analysis of the Grinding Null Pointer Problem
1 Leader
Say nothing but read the manual guidelines first
The manual has helped us summarize common problem scenarios, but we still need to dig into the null pointer problem in order to get it right.
2 What is the null pointer in the world?
2.1 Official Resolution
A null is passed in when the app ...
Posted by leatherback on Wed, 05 Feb 2020 16:45:04 -0800
Alicloud OSS upload / download and SMS verification code
(1) : you must first open related services on alicloud OSS. For details, please refer to this link:
https://help.aliyun.com/document_detail/31883.html?spm=5176.10695662.1996646101.searchclickresult.5ceb3ee82NzMq7&aly_as=WhUj5kPK
Or for video address, please refer to this link: http://cloud.video.tao ...
Posted by stick_figure on Wed, 05 Feb 2020 03:42:59 -0800
Understanding application.properties and application.yaml
In SpringBoot, there are two different formats for configuration files, one is properties and the other is yaml.
Although properties files are common, yaml is more concise and uses more scenarios than properties, and many open source projects are configured using yaml (for example, Hexo).In addition ...
Posted by martins on Tue, 04 Feb 2020 20:29:20 -0800
Spring: register beanDefinition with Spring IOC annotation method
Article directory
1. beauties
2. overview
3. cases
3.1 case 1
4. Container initialization
5.AnnotationConfigApplicationContext
5.1 registerBean
5.1.1 class file registration
5.1.2 AnnotationBeanDefinitionReader#doRegisterBean
5.2 scanBean mode
5.2.1 ClassPathBeanDefinitionScanner#doScan
1. b ...
Posted by LoStEdeN on Mon, 03 Feb 2020 04:20:53 -0800
Start and call of Spring Boot
[eye]
1. A way to start Spring BootService startup class
package com.npc.rest;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;
/**
* Frozen
* 2020-1-29
*/
/**
* Previously, users used three annotations to ...
Posted by blakey on Wed, 29 Jan 2020 07:39:19 -0800
Springboot+Mybatis+lombok
Note: here are some records of learning, I am not doing software development. Like here, we need to integrate springboot+spring+mybatis. We are still learning.
1, lombok configuration
(1) Plug in download
lombok offline download address: https://plugins.jetbrains.com/plugin/6317-lombok/versions ...
Posted by adam291086 on Wed, 29 Jan 2020 06:31:20 -0800