RabbitMQ learn the basic knowledge of three message queues

1, Basic knowledge (1) Provider Message producer is the procedure of message delivery. (2) Consumer Message consumers are message receiving programs (3) Messaging when message queuing is not used (4) Message passing method after using message queue (5) What is message queuing A queue is like a warehouse ...

Posted by corporateboy on Wed, 05 Feb 2020 05:46:48 -0800

Spring Boot: web application development and CRUD implementation

1, Developing web applications Spring Boot Web development is very simple, including common json output, filters, property, log, etc 2, json interface development In the past, when using spring to develop projects, what needs to be done when you need to provide json interfaces? 1. Add related jar packages such as jackjson 2. Configure spri ...

Posted by Mikedean on Tue, 04 Feb 2020 23:11:06 -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

The usage exception of spring boot plus background management system

Article directory Record the special exceptions in the process of using the scaffold of the development platform of background management system based on spring boot 2 Exception 1: ` ` java.lang.IncompatibleClassChangeError: Found interface org.objectweb.asm.MethodVisitor, but class was expected`` ...

Posted by IMP_TWI on Tue, 04 Feb 2020 08:23:24 -0800

Spring cloud series - get started quickly hystrix

What is hystrix? hystrix is a fuse protection middleware used by netflix for microservice distributed system. hystrix provides elegant response results to clients after the service is not reachable or the request times out. Why use hystrix? In the microservice scenario, many services depend on e ...

Posted by Sturm on Tue, 04 Feb 2020 06:02:08 -0800

Spring batch batch processing framework + mysql warehouse + web monitoring record

1, concept Spring Batch is a lightweight batch processing framework suitable for enterprise applications. It is worth noting that unlike other scheduling frameworks, Spring Batch does not provide scheduling functions. 2. Batch process Batch processing can be divided into the following steps: Read data Process data according to business The pr ...

Posted by KindredHyperion on Tue, 04 Feb 2020 05:05:24 -0800

Using fastDFS client to transform file upload

java client Mr. Yu Qing provides a java client, but as a C programmer, the Java code written can be imagined. And it's been a long time since maintenance. Here we recommend an open source FastDFS client that supports the latest spring boot 2.0. It is very simple to configure and use. It supports c ...

Posted by changeback on Tue, 04 Feb 2020 04:55:40 -0800

It took 20 minutes to write a web group chat program for girlfriends

WebSocket details WebSocket is a full duplex communication protocol provided by HTML5 on a single TCP connection. WebSocket makes the data exchange between the client and the server easier, allowing the server to actively push data to the client. In the WebSocket API, the browser and server only need to complete one handshake, and they can dir ...

Posted by affordit on Tue, 04 Feb 2020 04:38:12 -0800

Spring basic course 11: Spring transaction management

Database transactions A series of database operations with ACID characteristics realized by database, a refers to atomicity, C refers to consistency, I refers to isolation, and D refers to persistence; Atomicity refers to that the operation within a transaction is a whole and cannot be subdivided; ...

Posted by Procode on Mon, 03 Feb 2020 23:27:31 -0800

Use Spring Security for security control in Spring Boot learning

Security configurations are often used in development, and users who do not have access need to go to the login form page.There are many ways to achieve access control, including through Aop, interceptors, and frameworks (such as Apache Shiro, Spring Security). We describe how Spring Security is used fo ...

Posted by Nickosssss on Mon, 03 Feb 2020 18:07:37 -0800