SSM integration Spring+SpringMVC+Mybatis
Chapter 1: building an integrated environment
1. Build an integrated environment
Integration Description: there are many ways to integrate SSM. We will choose XML + annotation
The idea of integration
Build an integrated environment first
First, set up the Spring configuration
Using Spring to ...
Posted by Admiral S3 on Mon, 10 Feb 2020 07:44:49 -0800
Alibaba cloud SMS out of the box
brief introduction
Use SpringBoot to automatically assemble and simplify the docking of Alibaba cloud SMS.
A small tool, welcome to use and Star support, if you encounter problems during use, you can raise Issue, I will try my best to improve the Starter.
Version basis
aliyun-java-sdk-core:4.1.0
How to use
Maven
<dependency>
<grou ...
Posted by daddymac on Mon, 10 Feb 2020 07:06:34 -0800
Simple IOC container implementation
Preface
This article is written to learn the execution process of the Spring IOC container. It can't fully represent the Spring IOC container, but simply implements the dependency injection and control inversion functions of the container, which can't be used in production. It can only play a certain role in understanding the Spring container.
...
Posted by ExpendableDecoy on Mon, 10 Feb 2020 05:03:49 -0800
netty implements HTTP server 1
Article directory
Summary
HTTP server code implementation
Verification
Summary
At present, the mainstream Java web server is implemented by springboot+Tomcat, and the bottom layer is developed based on servlet. Servlet is not asynchronous, so its performance is not very rational and cannot meet ...
Posted by weezil on Sun, 09 Feb 2020 23:40:36 -0800
Prometheus + Grafana monitoring SpringBoot
Overall structure
Spring boot's actor provides the monitoring endpoint.
Prometheus is a monitoring system, which can obtain monitoring data from spring boot, store it in the form of time series data, and provide query service for monitoring data.
Grafana is a professional UI dashboard system, which supports a lot of data sources, including Prom ...
Posted by elearnindia on Sun, 09 Feb 2020 23:22:47 -0800
In a word, the essence of MYSQL optimization
This article has more points of knowledge and a longer length of text, please be patient to learn
MySQL has become the backbone of relational database products nowadays, and is favored by Internet companies. Out-of-office interviews want BAT, high salary, no knowledge of MySQL optimization, and the ...
Posted by doug007 on Sun, 09 Feb 2020 19:59:13 -0800
idea quickly set up spring cloud registration center and registration
Fast setup of spring cloud
Spring Cloud is a microservice framework, which is based on spring boot, a complete set of distributed system solutions provided by Spring Cloud.
First, we use gradle to create:
Select JDK and check Java, then next
Package name already has project name. Next step:
Select our local gradle package and continue ...
Posted by mattd8752 on Sun, 09 Feb 2020 10:59:08 -0800
spring boot requests rest Service
The spring boot environment is not built much, and the code is direct
To configure
Add the following configuration to the startup class
@Autowired
private RestTemplateBuilder builder;
// Use RestTemplateBuilder to instantiate the RestTemplate object. spring has injected RestTemplateBuilder by default
@Bean
publi ...
Posted by Apenvolkje on Sun, 09 Feb 2020 07:19:40 -0800
idea code artifact: generate code according to table
Easycode is a plug-in of idea, which can generate entity,controller,service,dao,mapper directly to the data table. It is simple and powerful without any coding.
1. Installation (EasyCode)
My words here are already loaded.
I suggest you install a plug-in called Lombok.
Lombok can automatically generate constructor, getter/setter, equals, hashco ...
Posted by freakstyle on Sun, 09 Feb 2020 05:21:43 -0800
Distributed link tracking Sleuth and Zipkin
with the development of business, system splitting leads to more complex system call link. A front-end request may need to call many back-end services in the end to complete. When the whole request becomes slow or unavailable, we cannot know that the request is caused by one or some b ...
Posted by Person on Sun, 09 Feb 2020 03:55:59 -0800