Super simple SpringBoot integrates Swagger2

Several pain points of handwritten Api documents: When a document needs to be updated, it needs to send another copy to the front end, that is, the document update communication is not timely. Ambiguous interface return result You can't test the interface directly online. You usually need to use ...

Posted by BKPARTIES on Mon, 20 Jan 2020 08:30:39 +0100

SpringBoot integration org.apache.Dubbo

SpringBoot integration org.apache.Dubbo 1. Preface As an excellent RPC framework, Dubbo has a large number of users in China. Since Dubbo was donated to the Apache Foundation by Ali in February 2018, it seems that Dubbo has brought new life to Apache Dubbo under its new name.Although the Spring Clou ...

Posted by zysac on Sat, 18 Jan 2020 02:54:04 +0100

Leyou mall 1 - project construction

You can visit Code cloud - Leyou mall To get the engineering code of Leyou mall. You can visit Baidu cloud leyouyou mall Password: ppzy to get information about Leyou mall. 1, Create parent project Maven Project to manage dependencies     GroupId: the unique identifier in the project, which corresponds to the package structure in java. Her ...

Posted by Pioden on Fri, 17 Jan 2020 14:01:24 +0100

How to integrate Dubbo and SpringBoot

1, How Dubbo integrates spring boot (1)   1) Go straight to the theme, way 1: In pom.xml, Dubbo starter dependency is introduced. In the application.properties configuration, use @ Service [expose Service] and @ Reference [Reference Service], and select the annotation method of application.properties +.   2) Create an ego interface module, wh ...

Posted by blankextacy on Fri, 17 Jan 2020 05:41:57 +0100

rabbitmq series message idempotency processing

1. springboot Integrating Rabbit MQ We need to create two new projects, one as a producer and the other as a consumer.Add an amqp dependency to pom.xml: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-amqp</artifactId> </dependency> Add rabbitmq information ...

Posted by Sephirangel on Fri, 17 Jan 2020 02:02:21 +0100

Spring IoC container details

Dependent processing The process of container solving dependency ApplicationContext is created and initialized through configuration metadata, which describes all bean s. Configuration metadata can be XML, java code and annotation For each bean, its dependency is expressed in the form of an attribute ...

Posted by Blaze(!) on Thu, 16 Jan 2020 11:23:43 +0100

Introduction to SpringBoot + multi framework integration

1 Overview 1.1 INTRODUCTION Spring Boot is a new framework provided by the Pivotal team. It is designed based on spring 4.0, which simplifies the whole process of building and developing spring applications, and makes developers no longer need to define template configurations In short, it helps devel ...

Posted by mayfair on Thu, 16 Jan 2020 09:11:22 +0100

Spring Boot integrates with Seata to solve distributed transaction problems

seata introduction Seata is Alibaba's open-source distributed transaction solution in 2019, which is committed to providing high-performance and easy-to-use distributed transaction services under the microservice architecture. Before the open source of Seata, the corresponding internal version of Seata played a role of distributed consistency M ...

Posted by levi_501_dehaan on Thu, 16 Jan 2020 06:42:38 +0100

Seta introduction to distributed transaction DEMO

>Simple Extensible Autonomous Transacation Architecture, seata is a simple, scalable and highly autonomous distributed architecture SEATA Server Configure >Because we use the official version 1.0.0-GA, most of the instructions found on the Internet are version 0.X, with many changes. For example, the script of db_store.sql is cancelled in ...

Posted by Begby on Wed, 15 Jan 2020 13:57:55 +0100

Solve @ MapperScan scanning package mixed with @ Service and other problems

Problem description @MapperScan annotation is generally configured to use dao or mapper's scanning package to operate the database, which is generally an interface. If there are other interfaces in dao layer, such as @ Service, an error will be reported Solution 1 Remove the service package. The met ...

Posted by malam on Wed, 15 Jan 2020 13:35:10 +0100