Call WebService interface

Last level we talked about generating maven project. In this episode, we talk about generating JavaBeans and String loaded Bean tool classes. 1. Add test class dependency <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> ...

Posted on Sun, 28 Jun 2020 01:59:41 -0400 by duncanmaclean

Sensitive word filtering: AOP + annotation + DFA algorithm

preface In terms of sensitive word filtering, we should say that it's big or small. Generally legal users will not have a big problem, but some illegal users deliberately engage in your business, it is not very friendly! After all, now the network is so developed, what matters to the Internet, the im ...

Posted on Fri, 26 Jun 2020 21:22:22 -0400 by jasonbullard

Web05 mybatis advanced (using annotation development and SQL to build objects)

MyBatis advanced Today, I'd like to share with you the following Annotation implementation single table development Annotation for multi table operation SQL construction statement of MyBatis Here are some key words of MyBatis annotation development Annotation implementation single table developme ...

Posted on Sun, 21 Jun 2020 04:30:55 -0400 by dad00

Redis getting started - Jedis operating redis

This article mainly introduces the use of redis command line, the software version used: Java 1.8.0_191,Redis 5.0.8,Jedis 3.3.0. 1. Introduce dependency <dependency> <groupId>redis.clients</groupId> <artifactId>jedis</artifactId> <version>3.3.0</version> </dependency> 2. Basic opera ...

Posted on Fri, 19 Jun 2020 22:43:17 -0400 by bsamson

Java Foundation Part 8 learning notes and collections

1. Knowledge point architecture of collection 1) , knowledge structure system diagram 2) , collection overview 3) . architecture 4) , tools 5) , Description: the bottom structure here is a little bit, and there are special chapters in the later period 2. Overview of collection 1) , notes /* *1. Ove ...

Posted on Sat, 13 Jun 2020 06:13:58 -0400 by deeppak

Message type - normal message

General message RocketMQ provides three ways to send ordinary messages: reliable synchronous sending, reliable asynchronous sending and one-way sending. Reliable synchronous transmission Synchronous sending refers to the communication mode in which the sender sends data and sends the next packet a ...

Posted on Sat, 13 Jun 2020 00:38:15 -0400 by spicey

Article title: encapsulation of Retrofit2+Rxjava2 network request framework

Based on the networking framework of Retrofit and Rxjava2, the builder mode constructs RestClient, encapsulates the request method, supports configuration loading animation, and chain call. Unified request to get the original data returned by the background. Let's take a look at the network request sample code Chain c ...

Posted on Fri, 22 May 2020 12:23:59 -0400 by EPCtech

Problems encountered in springboot+mybatisplus junit test

When spring boot integrates with mybatisplus to add database, junit startup reports the following error java.lang.NoClassDefFoundError: org/springframework/core/annotation/MergedAnnotations$SearchStrategy at org.springframework.test.context.support.TestPropertySourceUtils.buildMergedTestPropertySources(TestPropertySourceUtils.java:74) ...

Posted on Tue, 19 May 2020 10:29:07 -0400 by LexHammer

If you want to make a million yuan a year, can Alibaba Sentinel support RESTful interfaces?

Recently, I was preparing to use Alibaba Sentinel, and found that the RESTful interface does not support very well. Some children's shoes may not know Sentinel very well. Let's give you a brief introduction. About Sentinel Sentinel is an open-source traffic defense framework of Alibaba. The Github address is: https://github.com/alibaba/Sentine ...

Posted on Wed, 13 May 2020 22:44:14 -0400 by Rich464

Implementation of formula library based on groovy

formula Formula library based on groovy implementation Project address Github grammar Formula name (parameter) For example: Echo (great hero Wang Bobo) Formula nesting is supported: Formula name 1 (formula name 2 (parameter), parameter) For example: ECHO(UUID()) Quick start Create formula object formula function formula.run("script& ...

Posted on Tue, 12 May 2020 11:17:33 -0400 by skkeeper