Spring framework introductory tutorial for those who have an interview in the near future
decoupling
Just now we said that the creation of resources was entrusted to sring. We can find spring for what we need. This process is like a factory model. But what objects it needs to create in the spring framework, it needs a configuration file. This configuration file tells spring which resources need to be created.
For example, su ...
Posted by Brown on Sat, 18 Dec 2021 00:06:39 +0100
[Step into Stack 1, Java for first-line Internet architects building essential skills
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-hystrix</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-nac ...
Posted by d.shankar on Fri, 17 Dec 2021 21:55:02 +0100
X - multithreading
problem
1. If there is a very time-consuming calculation in the business: + 1 million operations (the speed is slow and the execution time becomes longer) 2. Multiple execution units in the program at the same time? And they are all cycles (dead cycles)
1, Thread
1. Background
java supports multithreading (JS php) and a large number ...
Posted by psy on Fri, 17 Dec 2021 16:41:52 +0100
SpringBoot builds the back-end interface gracefully
SpringBoot builds the back-end interface gracefully
directory structure 1. Validator parameter validation 2. Global exception handling 3. Unified data response
1. Preface:
A complete back-end interface is roughly divided into four parts: interface mapping address, request mode, request data and response data. How to build these four componen ...
Posted by convinceme on Fri, 17 Dec 2021 08:03:36 +0100
Analyze the automatic assembly source code and understand the @ Import and other related source code (full text 3w words, super detail)
preface
When it comes to SpringBoot, we are certainly familiar with it. The automatic configuration makes it very cool for us to use in the development process. For example, the traditional mvc project needs to write a large lump in the xml file to start aop, while the SpringBoot project only needs to add the @ EnableAspectJAutoProxy an ...
Posted by kutyadog on Fri, 17 Dec 2021 03:18:33 +0100
Type conversion of Spring core features (PropertyEditor, ConversionService)
preface
Like data binding, type conversion is also one of the core features of Spring. The initial configuration information of Spring mainly exists in the form of XML, which requires Spring to convert string configuration into specific Java types. After the evolution of multiple versions, the type conversion function in Spring is becoming mor ...
Posted by Mr Chris on Fri, 17 Dec 2021 01:08:28 +0100
Java project: design and implementation of luggage deposit management system in scenic spot (java+ssm+springboot)
Main technical implementation: spring, springmvc, springboot, springboot security permission control, mybatis, session, jquery, md5, bootstart JS, tomcat, interceptor, etc.
Main functions: login, user management, role authority management, menu management, department management, luggage cabinet management, user deposit management, record query ...
Posted by Squallyboy on Fri, 17 Dec 2021 00:53:20 +0100
Quartz explains and uses CommandLineRunner to initialize scheduled tasks at project startup
A previous article record related to scheduled tasks: springboot uses @ Scheduled as a Scheduled task. Detailed usage
Introduction to Quartz
Quartz is a full-featured open source job scheduling library written in Java, which can be integrated into almost any Java application, ranging from independent applications to large-scale e-commerce ...
Posted by ammupon on Thu, 16 Dec 2021 20:19:21 +0100
Dynamic agent AOP
1 what is AOP?
Aspect Oriented Programming is the abbreviation of Aspect Oriented Programming. Aspect specification is the method of dynamic agent. Its function is to enhance the method without changing the source code of the business layer method. The underlying layer uses dynamic agent technology. Aspect Oriented Programming can also be unde ...
Posted by elite_prodigy on Thu, 16 Dec 2021 18:22:38 +0100
Spring MVC RESTFul description
1 what is RESTFul
RESTFul programming is a style, not a protocol. Interpretation of HTTP protocol (landing scheme) and landing of request mode There are 8 http protocols
Serial numbermethoddescribe1GET Request the specified page information. The request data is placed in the protocol header and the entity body is returned2POSTSubmit resou ...
Posted by ukalpa on Thu, 16 Dec 2021 17:30:05 +0100