The construction of springboot workflow activiti

concept Workflow products use activiti a lot. They come with a set of UI, which can be used directly to design processes. Here is a brief summary of its steps: 1 design model 2 publish as process. A model can publish multiple versions of process 3. Establish a process instance and instance task. A process can establish multiple parallel ins ...

Posted by k3Bobos on Mon, 20 Jan 2020 06:51:07 -0800

Chapter 6 Feign parameter binding

Parameter binding stay The fifth chapter Feign is used to implement a REST service binding without parameters. However, in the actual business, it is much more complicated than this. Different types of parameters are passed in at various locations of HTTP requests, and the returned parameters may als ...

Posted by halex on Fri, 17 Jan 2020 00:55:22 -0800

Springboot unit test@

In computer programming, unit testing is a software testing method, which is used to test a single unit of source code, a collection of one or more computer program modules, and related control data, use process and operation process to determine whether they are suitable for use. In short, when we are doing unit tests, we only test one code un ...

Posted by anthonydamasco on Thu, 16 Jan 2020 07:37:32 -0800

SpringBoot integrates Alibaba RocketMQ

What is RocketMQ Alibaba message queuing version RocketMQ not only provides asynchronous decoupling and peak clipping and valley filling capabilities for distributed application systems, but also has the features of massive message accumulation, high throughput, reliable retry and other features required by Internet applications, as well as cha ...

Posted by blackwinged on Thu, 16 Jan 2020 04:37:27 -0800

Spring Boot configuration unified format Result return value

In web development, the separation of front and back development has been deeply rooted in the hearts of the people. Such a development mode is very useful for the development of elegant and beautiful web applications. I have consulted some materials on the Internet and learned to use the unified format ...

Posted by bobbybrown on Wed, 15 Jan 2020 19:52:49 -0800

How to use template + factory design mode intelligently to realize asynchronous callback in aggregate payment platform

Asynchronous callback process Parsing message (verification signature) Log collection (same) If the message is parsed successfully, the payment status will be changed to succeeded. Different payment results will be returned Template method design pattern Define the whole skeleton in advance ...

Posted by jassh on Tue, 14 Jan 2020 19:01:44 -0800

0113 spring scheduled tasks and asynchronous thread pool

0113 asynchronous method and timing task of spring background spring has a lot of content, and the general knowledge must be systematically learned, but some edge technology points are also very applicable in the actual work; here is an introduction and practice one by one. Asynchronous thread pool Scenario: the distribution task is separate ...

Posted by kryles on Sun, 12 Jan 2020 23:04:03 -0800

How is slf4j bound to a specific log framework

SLF4J is a Simple Logging Facade for Java, which is a facade (appearance) interface or an abstraction of various logging frameworks, such as java.util.logging, logback, log4j, etc. with this product, we can not care about the specific implementation, that is to say, we can switch the logging framework at any time. The latest version of slf4j 1 ...

Posted by lovelf on Tue, 07 Jan 2020 04:02:05 -0800

Agent mechanism of spring boot project [1]

This is the first article to understand the Spring proxy mechanism, trying to understand how Spring implements Bean registration and proxy. This article will raise the question: will Spring register beans and create proxy objects with Jdk proxy or cglib? 1 project preparation 1.1 create a Spring Boot project Create a Spring Boot project that ...

Posted by mrfritz379 on Tue, 07 Jan 2020 03:22:55 -0800

JavaLib | Result unifies your API (2)

Introduction JavaLib has implemented the Result module for a long time, and I've been using it, but that's for the public API interface. If the back-end developers write the API interface to the front-end like that, it's very troublesome, so they decided to rewrite it early. I also refer to a lot of people. Looking at the Spring Builder mode, i ...

Posted by willeh_ on Tue, 31 Dec 2019 10:03:47 -0800