Detailed tutorial on the development of the strongest Spring annotation in the whole network (continuous update...)
Detailed tutorial on Spring annotation development (with Raytheon's video)
1, Design mode - factory mode
Factory pattern is the most commonly used instantiation object pattern, which is replaced by methods in the factory new A design pattern for creating objects.
We take Mybatis of SqlSession Interface as an example, it has an impleme ...
Added by ricerocket on Sat, 18 Dec 2021 13:43:45 +0200
Spring Cloud Gateway custom filter practice (observe the change of circuit breaker state)
Welcome to my GitHub
Here we classify and summarize all the original works of Xinchen (including supporting source code): https://github.com/zq2599/blog_demos
Overview of this article
This article is the seventh in the Spring Cloud Gateway practice series. In the previous article, we learned about various built-in filters, and we are st ...
Added by master123467 on Sat, 18 Dec 2021 09:25:35 +0200
Exception handling of java basic learning, a year after graduation, sprouted a new Java manufacturer experience
// The subclass method did not throw an exception
@Override
public List<String> readFromFile(String filePath){
return null;
}
}
1.3. 2. Method overload
Java method overloading involves only method names and parameter lists. Method return value and exception list are used as the basis for method overloading.
1
...
Added by willc on Sat, 18 Dec 2021 01:27:15 +0200
Springboot + JSON + Ajax + ecarts + Fiddler to realize the separation of front and rear end development visualization (Advanced)
Tutorial directory
0x00 tutorial content0x01 create a new SpringBoot project
1. New maven project
2. Write code3. Code explanation 0x02 combination of JSON and AJAX
1. Write html interface
2. Write access interface method3. Code explanation 0x03 surprise
1. It's a colored egg
2. It's another ...
Added by pvtpyro on Fri, 17 Dec 2021 21:27:34 +0200
Blog construction and explanation
Introduction:
This blog is mainly used to record some bits related to learning and life. This blog is relatively simple and will not be very difficult to build. The technologies involved mainly include springboot, mybatis plus, springMVC, redis, JWT,mySql, etc. Although this blog is relatively simple, there are still holes in it!, Maybe you ...
Added by jdadwilson on Fri, 17 Dec 2021 17:34:57 +0200
Spring MVC detailed summary and analysis
Spring MVC learning
Brief introduction to spring MVC framework:
Spring MVC is a module of spring framework. Spring MVC and spring do not need to be integrated through the middle integration layer. Spring mvc is a web framework based on mvc. Spring MVC presentation layer: it is convenient for front and back data transmission Spring MVC has a c ...
Added by mallard on Fri, 17 Dec 2021 11:55:55 +0200
SpringBoot practice: elegant use of enumeration parameters in RequestBody (principle)
This picture was created by Johnnys_pic stay Pixabay Publish on
Hello, I'm looking at the mountain.
stay Elegant use of enumeration parameters (principle) As we talked in, Spring uses different processing classes to process parameters for different parameter forms. This form is somewhat similar to the policy pattern. Split the processi ...
Added by robinjohn on Fri, 17 Dec 2021 08:33:15 +0200
Task (springboot learning 14)
Asynchronous taskTimed taskMail sending (commonly used, springboot official)
1, Asynchronous task
1. Create a springboot project and check the web launcher dependency
2. Create a new business
However, the data processing thread will sleep for 3 seconds, and the page will not be displayed during sleep
@Service//Business hosted by spring
publ ...
Added by brucemalti on Fri, 17 Dec 2021 08:19:41 +0200
SpringMvc learning notes - parameter acquisition / binding / driving
In fact, it is to obtain the parameters submitted by the foreground. Some people like to call parameter binding and others like to call parameter driven. I think parameter acquisition is the most straightforward.
Simple parameters: (Integer, String, Float, Double, Boolean)
example:
jsp page:
<%@ page language="java" contentType="text ...
Added by Lefu on Fri, 17 Dec 2021 07:47:23 +0200
Detailed explanation of spring cloud load balancing
Detailed explanation of spring cloud load balancing
1. Introduction
1.1 what is load balancing (in-process LB)
Load balancing, that is, load balancing, is a computer technology used to distribute load among multiple computers (computer clusters), network connections, CPU s, disk drives or other resources, so as to optimize resource use, maxi ...
Added by dhiren22 on Thu, 16 Dec 2021 19:45:27 +0200