Spring Boot & ES is worth reference!
Author: Waste senior brother
cnblogs.com/cjsblog/p/9756978.html
1. Preface
1.1. Integration mode
There are four ways to integrate Elasticsearch in Spring Boot:
REST Client
Jest
Spring Data
Spring Data Elasticsearch Repositories
This paper uses the following two methods to connect and operate elastic search respectively
1.2. Environm ...
Posted by RwpTechAdMin on Fri, 19 Jun 2020 01:00:37 -0700
This article teaches you to publish your personal development jar package to maven central repository
Author: little brother FuBlog: https://bugstack.cn -Original series special cases
Precipitation, sharing, growth, so that they and others can have a harvest! 😄
Introduction to foreword
(December, 19) recently, I want to make an open source sharing project based on Spring Boot, and develop a distributed task DcsSchedule middleware to enhance Sc ...
Posted by AdamSnow on Wed, 17 Jun 2020 20:05:34 -0700
"Beginner mall" - Interface - use script to simplify deployment operation (optimization)
1. Preface
In the previous version, you mistakenly bound the build push docker image to the package execution action. As a result, the OSC service parent project will report an error that it cannot find the dependency during the install operation, and unacceptable problems such as "build the pus ...
Posted by abolmeer on Mon, 15 Jun 2020 21:51:39 -0700
Use of surefire plug-in
Article catalog
Write in front
Combined with TestNG configuration
Combined with Junit configuration
Matching mvn command use
Write in front
The surefire plug-in is used in the test phase of maven's life cycle for testing. It provides some mvn operations that are convenient for us to perform th ...
Posted by slj90 on Fri, 12 Jun 2020 02:24:24 -0700
JSON Foundation: Instructions for using fastjson
Fastjson has been a popular issue recently, but as a widely used library of Json, it is still an important choice for many developers along with Gson and Jackson. Even from a security point of view, it is necessary to understand how fastjson is used in order to replace it. This article is a simple summ ...
Posted by storyboo on Thu, 11 Jun 2020 17:42:21 -0700
Build your own jar package and upload it to Mvaen central warehouse and version update
I've always envied others for making wheels and open source projects for others to use. I also want to do this. I can learn little by myself. This time, I will upload my own writing tools to Maven's central warehouse.
The detailed step-by-step tutorial is shown as follows:
Notice the Maven addresses at first:
Work order management: https://is ...
Posted by ZimmerX on Wed, 10 Jun 2020 21:29:24 -0700
JAVA software encryption - digital digest and code confusion
Because JAVA is an interpreted language, it is easy to decompile. Maybe many companies will add License verification steps to their products before they leave the factory. Is License verification really safe?
NO, people with a little JAVA experience will know to decompile your war package or jar ...
Posted by fansa on Wed, 10 Jun 2020 20:54:33 -0700
JMH: a necessary tool for performance tuning
if fast or switch fast? Do you want to specify the initialization size of HashMap? How much performance can be improved after it is specified? Which serialization method takes less time?
No matter what the reason is, it is necessary to evaluate the performance.
In most cases, it is not enough to simply answer who is fast and who is slow. How to ...
Posted by bluebyyou on Wed, 10 Jun 2020 19:45:42 -0700
Boy! Kubernetes deployment is so simple, you can see it completely
How is it implemented to migrate the project to k8s platform?
Make a mirror image
Controller management Pod
Pod data persistence
Exposed applications
Publish application to the public
Log / monitor
1. There are three steps to making a mirror image
The first basic image is based on which operating system, such as Centos7 or other
The second ...
Posted by wenquxing on Wed, 10 Jun 2020 19:44:45 -0700
Using pdfBox to convert pdf to picture and solve the problem of Chinese block code
Reference article Troubleshooting: when pdfbox is used to transfer pdf to image, stsong light font in Chinese is garbled
pdfbox version is 2.0
A log like this (for example, using fallback XXX for CID keyed font stsong light) is printed in the log, which means that stsong light font is not installed in t ...
Posted by tejama on Tue, 09 Jun 2020 20:53:59 -0700