Talk about SpringUtil of Spring source code [appendix: XML syntax] [writing XSD of RPC practice case]
1, Background
In writing RPC framework, dubbo's idea is used for reference, and dubbo's implementation is based on Spring Schema. So you need to know how to extend Spring Schema based on Spring.
2, Revenue
You can better understand the schema syntax in Spring and write your own framework in the process of integrating Spring.
3, Principle
3 ...
Added by saandel on Tue, 01 Feb 2022 18:50:48 +0200
Work sharing - (demand: save the pictures locally for three months)
Work sharing - (demand: save the pictures locally for three months)
Demand profile
Recently, I have encountered such a demand in my work: save the image data of a business locally for three months. In our work, such a similar demand is common, so I share my practice this time as a reference for you.
Specific needs
There is a table i ...
Added by my8by10 on Tue, 01 Feb 2022 18:23:01 +0200
Operating ES through Spring Data Elasticsearch
Elasticsearch
Elastic search (es) is an open source, distributed, RESTful interface full-text search engine based on Lucene. Elasticsearch is also a distributed document database, in which each field is indexed and searchable. It can be extended to hundreds of servers to store and process PB level data. It can store, search and analyze a large ...
Added by huzefahusain on Tue, 01 Feb 2022 17:10:58 +0200
SpringBoot day 16 - Web exception handling
SpringBoot - Web exception handling
Understand the exception handling mechanism of SpringBoot for Web development.
1. Exception handling mechanism
1.1 default exception handling
By default, SpringBoot provides / error mapping to handle all exceptions, And register as a global error handling page in the Servlet container.
For browser client ...
Added by ochi on Tue, 01 Feb 2022 14:46:03 +0200
SpringBoot+Minio builds a distributed file server that will no longer be bald
preface
1) Some people will ask, why not use FastDFS? As we all know, the native installation of FastDFS is very complex. People with installation experience generally understand that although you can use other people's docker s to install directly, there may be many inexplicable problems in the real use process;
2) Others will ask, why not u ...
Added by harvey on Tue, 01 Feb 2022 10:22:33 +0200
Bye Jenkins! A few lines of scripts for automated deployment, this artifact is a bit awesome!
In a development or production environment, we often develop a set of Automated Deployment schemes (commonly referred to as one-click deployment). One of the more popular is the Gitlab+Jenkins implementation, but it takes up a lot of memory, doesn't have a 8G memory, can't run smoothly, and can't be deployed quickly. Recently discovered a magic ...
Added by robert_gsfame on Tue, 01 Feb 2022 07:48:42 +0200
Response processing - front and rear data interaction
elementary analysis:
As we all know, in the front end of the front-end and back-end separation project, we use Jquery to realize ajax asynchronous request and data interaction with the back-end: that is, take the data from the front-end page and request it to the corresponding controller layer method, then the back-end processes the data reque ...
Added by nosti on Tue, 01 Feb 2022 05:49:10 +0200
Five postures for spring boot to send e-mail: (personally test OK, list some stepped pits for brothers, and hold it if you think it's helpful!)
Email sending is actually a very common requirement, which can be used in user registration, password retrieval and other places. The steps of sending email using JavaSE code are still very cumbersome. Spring Boot provides relevant automatic configuration classes for email sending, which makes email sending very easy. In this article, we'll fin ...
Added by Jona on Tue, 01 Feb 2022 01:32:49 +0200
[SpringBoot] SpringBoot learning notes - Application Development
3. Application development
3.1 file upload and download
SpringBoot does not have its own file upload and download technology. It relies on the file upload and download technology of Spring MVC, but it is further simplified and more convenient in SpringBoot.
3.1.1 single file upload
To upload a file, you must set the form method to POS ...
Added by ManOnScooter on Tue, 01 Feb 2022 01:11:33 +0200
Installing fastdfs under nginx
1. Install gcc environment
yum install gcc-c++
2. Install two libraries The first libevent Library
yum -y install libevent
The second libfastcommon Library libfastcommon download address: https://github.com/happyfish100/libfastcommon/archive/V1.0.43.tar.gz
Copy the downloaded libfastcommon to the / usr/local / directory, and then execute ...
Added by HuggieBear on Mon, 31 Jan 2022 23:37:44 +0200