Architecture direction - build a multi module single architecture

If you need to practice the single architecture or need to build a single multi module, this article can serve as a reference 1. Construction of the outermost layer of the project 2, Module building Common dependency module 2.2 public module pom modification 3. Calls between modules 1. Constru ...

Posted on Sun, 07 Jun 2020 02:55:10 -0700 by varasurf

akka-typed - EventSourcedBehavior in action

As mentioned earlier, the more important change in akka typed is the addition of EventSourcedBehavior. That is to say, an actor dedicated to EventSource mode is added, and eventually CQRS can be perfectly implemented together with other kinds of actors. The new actor, which I still call persistent actor, is a kind of actor that can maintain and ...

Posted on Fri, 05 Jun 2020 22:01:29 -0700 by candy2126

Original Spring Boot 2.3 new features layered JAR

background In our actual production containerization deployment process, we often encounter the situation that the Docker image is large and the deployment and release are slow There are three main factors that affect the image size of docker: The size of the underlying mirror. Try to choose Apache as the basic image to reduce the built-in s ...

Posted on Sun, 24 May 2020 19:09:01 -0700 by no3dfx

Why can Spring Boot package run directly?

Author: Format http://fangjian0423.github.io/2017/05/31/springboot-executable-jar Spring Boot provides a plug-in spring-boot-maven-plugin It is used to package the program into an executable jar package. Add this plug-in to the pom file: <build>  <plugins>  <plugin>  <groupId>org.springframework.boot</groupId>  & ...

Posted on Tue, 19 May 2020 23:17:52 -0700 by Melville

Complete interpretation of Flutter compiling and packaging system

The first thing a Fletter developer needs to know is how to compile and run a Fletter application. Different from the usual compilation of Android engineering projects, the package compilation of flutter is realized by calling the command line of flutter. In the process of compiling and running over and over again, you may often think about: wh ...

Posted on Sun, 17 May 2020 23:58:27 -0700 by MisterWebz

Talk about debezium's snapshot change record emitter

order This paper mainly studies the snapshot change record emitter of debezium SnapshotChangeRecordEmitter debezium-v1.1.1.Final/debezium-core/src/main/java/io/debezium/relational/SnapshotChangeRecordEmitter.java public class SnapshotChangeRecordEmitter extends RelationalChangeRecordEmitter { private final Object[] row; public Snapsho ...

Posted on Wed, 13 May 2020 08:50:06 -0700 by Stonewall

SPI implementation of Java extension mechanism

1, What is SPI SPI (Service Provider Interface) is a mechanism that separates service interface and service implementation to achieve decoupling and greatly improves program scalability. The introduction of service provider is the implementer of SPI interface. Through local registration discovery, specific implementation classes can be obtaine ...

Posted on Wed, 06 May 2020 07:15:32 -0700 by dessolator

Springboot project jar package docker deployment

The SpingBoot project is packaged as a jar package and deployed in a docker container starting with two files: 1. Project jar package (not explained here); 2. dockerfile files (files without any suffixes) 2.1 Writing dockerfile: The contents of the file are as follows: FROM java:8 VOLUME /tmp COPY springBootDocker-0.0.1-SNAPSHO ...

Posted on Sun, 19 Apr 2020 21:01:55 -0700 by br

Spring boot actor configuration security

What is Spring Boot actor monitoring? Similar to php's phpinfor() function, but the actor is more powerful and can view more data and status. Activator is the integrated function of monitoring and management of application system provided by Spring Boot. You can view the details of application configuration, such as automatic configuration info ...

Posted on Sun, 12 Apr 2020 19:44:01 -0700 by usacascl

SpringMVC Execution Process Resolution

Spring is known to people who have done java development, but even if they don't know it now, they will gradually know that because of its huge size and many modules, I will introduce the Spring MVC that is used in business development (90% of people are doing business development after years of experience).          First, let's look at how Sp ...

Posted on Fri, 03 Apr 2020 23:20:09 -0700 by papaface