Spring07_ Pure annotation and spring integration Junit

For the source code of this tutorial, please visit: tutorial_demo In spring04_ In IOC and DI, we use XML configuration and Apache Commons DbUtils to implement single table CRUD operation. In this tutorial, we use pure annotation and Apache Commons DbUtils to implement single table CRUD operation. 1, Requirements and technical requirements 1.1 ...

Posted on Wed, 27 May 2020 22:53:16 -0700 by hatching

Sensitive Field Mask Processing in System Logs

For the development of financial business, many interfaces need to use user information, and there will inevitably be some sensitive fields in user information, such as user name, bank card number and so on.Therefore, when users save sensitive information and log printing, they cannot save sensitive inf ...

Posted on Wed, 27 May 2020 17:36:58 -0700 by auday1982

Spring04_IOC and DI in action

For the source code of this tutorial, please visit: tutorial_demo Before learning this tutorial, you need to know (use it if you want) the following: Database connection pool c3p0; Apache Commons DbUtils. Learning without practicing is false. Next, we use the knowledge of IOC and DI learned before to combine Apache Commons DbUtils to implem ...

Posted on Mon, 25 May 2020 08:51:45 -0700 by squiblo

One of the Flink handler functions: ProcessFunction class

About process functions As shown in the following figure, in general business development, SQL, Table API and DataStream API are commonly used, while the Low-level situation is seldom used. Starting from this chapter, we will familiarize ourselves with process functions through actual combat, and see what capabilities this series of Low-leve ...

Posted on Sun, 24 May 2020 01:19:49 -0700 by asunsha

Flink processing function Practice II: KeyedProcessFunction class

This is the second and last article in the Flink series Flink: ProcessFunction class I learned the simplest ProcessFunction class, KeyedProcessFunction I want to know today, and some features brought by this class; About KeyedProcessFunction By comparing the class diagram, it can be determined that KeyedProcessFunction and ProcessFunction ...

Posted on Sun, 24 May 2020 00:57:29 -0700 by cayman_d

Simple introduction to SpringBoot + Spring Security

This article mainly introduces a simple introduction to SpringBoot + Spring Security Introduction to Spring Security Spring Security is not introduced too much here. For details, please refer to Official documents Let me just talk about the spring security core functions: Certification (who are you) Authorization (what can you do) ...

Posted on Sat, 23 May 2020 22:12:20 -0700 by daucoin

Realization of permission model based on shiro

1. shiro Apache Shiro is a powerful and easy-to-use Java security framework that performs authentication, authorization, password, and session management. With Shiro's easy to understand API, you can quickly and easily access any application, from the smallest mobile application to the largest network and enterprise application. Authentica ...

Posted on Sat, 23 May 2020 03:24:28 -0700 by lulubell

Function test of ActiveMQ high availability + load balancing cluster

1. Basic function test ActiveMQ is a JMS Provider implementation that fully supports the JMS 1.1 and J2EE 1.4 specifications. The full name of JMS is Java Message Service, that is, Java Message Service. It is mainly used to deliver messages between producers and consumers. Producers are responsible for generating messages while consumers are re ...

Posted on Fri, 22 May 2020 03:07:54 -0700 by naitsir

php date and time functions

System time zone settings for PHP date and time functions In PHP, there are two ways to change the time zone: The first: modify php.ini For the settings in the file, click data; date.timezone =Option, remove the preceding quotation marks, and change to:“ date.timezone =Asia / Shanghai "and restart the Apache server Second: In the a ...

Posted on Thu, 21 May 2020 22:26:51 -0700 by rklapwijk

Beauty of Mybatis source code: 1.2 download Mybatis source code and import it into IDE tool

Download Mybatis source code and import it into IDE tool Download the source code of Mybatis Open the browser and enter the web address https://github.com/mybatis/mybatis-3 You can access Mybatis' warehouse in Github. So far, the latest version of mybatis is 3.5.3-SNAPSHOT, but because the version I used in my previous learning process is 3.5 ...

Posted on Wed, 20 May 2020 23:18:46 -0700 by ninib