Toolset Core Tutorial | Part 5: Using Velocity Template Engine to Generate Template Code
Preface
I don't know if you have such a feeling. In normal development, there are often many duplicate codes in dao and service classes. Velocity provides template generation tools. Today, I will teach you how to say goodbye to these duplicate codes.
Reference items: https://github.com/bigbeef/cppba-codeTemplatePersonal blog: http://www.zhangb ...
Posted by Tonic-_- on Sat, 11 May 2019 04:37:58 +0200
Go module learning notes
1. Create a mudule and publish it
1.1 $GOPATH/src directory structure
1.2 Environment Variables
Need to add environment variable: GO111MODULE=on;
This variable has three optional values:
On (GoEnable this feature anywhere),
off (disable this feature),
auto (default, enabled elsewhere with GOPATH disabled)
Otherwise console will output the ne ...
Posted by nishmgopla on Sat, 11 May 2019 01:33:20 +0200
Dubbo Server/Client demo
The project group uses distributed services and has dozens of applications online. RPC calls rely entirely on Dubbo. Usually the development has been built with other people's Dubbo environment. Recently, I have taken time to build a small Dubbo demo, a server and a client independently.
One server
...
Posted by tomfra on Fri, 10 May 2019 17:53:33 +0200
Spring Cloud Alibaba Integrated Sentinel Flow Control
Previously, we used to integrate sentinel dependencies directly, configure rules by encoding, and so on. Ali already has an open source framework spring-cloud-alibaba for integration into Spring Cloud, which is used to successfully integrate a series of frameworks into Spring Cloud.
My version of Spring Cloud is Finchley.SR2, and Spring Boot is ...
Posted by maheshb on Thu, 09 May 2019 23:50:03 +0200
java log desensitization framework sensitive, elegant print desensitization log
problem
In order to ensure users'information security, sensitive information needs desensitization.In the process of project development, it feels very troublesome to deal with the log problem of sensitive information every time. Most of them are handled separately with tool classes, which is not conducive to the unified management in the futur ...
Posted by Acs on Thu, 09 May 2019 16:56:03 +0200
maven-assembly-plugin plug-in learning in pom files
Source of the article: https://blog.csdn.net/cx1110162/article/details/78647164?locationNum=2&fps=1
I. Use scenarios
If the project is a micro-service architecture, the probability of using this plug-in is relatively high. Normally, ordinary projects do not need such an implementation.
If a part of the common functionality ...
Posted by phpshift on Tue, 07 May 2019 14:45:04 +0200
Gradle usage and multi-module creation in Idea.md
[TOC]
Gradle use
Gradle is a project automation construction tool based on the concepts of Apache Ant and Apache Maven. It uses a Groovy-based domain-specific language to declare project settings, rather than traditional XML. Wiki
Automatically Processing Packet Dependency Relations - The Concept from Maven Repos
Automated dispo ...
Posted by jcd on Tue, 07 May 2019 13:40:04 +0200
Spring Boot Learning Tutorial: Beginning the First Spring Boot Application
This article is originally written by the author. Please indicate the source for reprinting.
SummarySpring Boot can easily create independent production-level Spring-based applications. It follows the principle of "convention is greater than configuration", uses the least configuration, and automates everything as much as possible, ma ...
Posted by matthew_ellis24 on Tue, 07 May 2019 08:35:04 +0200