Advanced way of Android: scanning and generating 2D codes
Ten thousand years ago, I wanted to write an article to record the implementation of the QR code function. I didn't expect that it would be now. Today is Saturday~~~
Now there are a lot of tripartite libraries about scanning code on the Internet. Of course, these are all extended based on the framework of zxing. Here I ...
Posted by schris403 on Tue, 31 Mar 2020 08:58:00 -0700
Spring boot multi environment separation of resources and lib for packaging
In order to facilitate local development, testing and production packaging are occasionally involved. The configuration of each environment is different. Configuration files of multiple environments need to be configured to avoid having to modify the configuration files when packaging
The default configuration file of the SpringBoot project is ...
Posted by riespies on Tue, 31 Mar 2020 02:38:28 -0700
Ali Yun released Spring Boot new scaffolding, really fragrant
Author|Good Name Alibaba Technical Expert
background
I believe many people have used start.spring.io to initialize their own Spring Boot project. This tool provides developers with a wide range of optional components and can be packaged in a variety of ways, making it easy for developers to use.Recently, Alibaba's Nacos and Sentinel have also ...
Posted by clapton on Sun, 29 Mar 2020 21:14:18 -0700
Version F spring cloud 4 - Eureka registry development and client development
Source address: https://gitee.com/bingqilinpeishenme/Java-Tutorials
Preface
In the first three articles, the concepts related to microservices, spring cloud and service governance are introduced in large vernacular, and the development of spring cloud code starts from this article.
Spring cloud project environment construction
All demo s of ...
Posted by hypedupdawg on Sun, 29 Mar 2020 02:50:24 -0700
Java integration Alibaba big fish
Next, we learned the message service of Alida fish
This article integrates it into the code
1. Use API to send SMS
Step 1: view help documents
Ali big fish API
https://help.aliyun.com/product/44282.html?spm=5176.12212976.0.0.15b31cbeK3Pm5Y
Step 2: determine the code in Java development
Example demo
https://help.aliyun.com/document_detail/ ...
Posted by jabba_29 on Fri, 27 Mar 2020 03:57:42 -0700
Java create / edit / delete Excel Mini chart
Summary
A sparkline is a miniature chart that represents data in Excel worksheet cells. Using the sparkline can display the trend of data change intuitively, highlight the maximum value and the minimum value, and put them in the data table can play a good data analysis effect. This article introduces how to create Mini chart in Excel, edit and ...
Posted by jh_dempsey on Thu, 26 Mar 2020 08:06:30 -0700
Netflix Hystrix service monitoring of Spring Cloud series
Actuator
In addition to service fault tolerance, Hystrix also provides near real-time monitoring function, which collects the service execution results and running indicators, the number of successful requests, etc. through the activator, and then accesses / Actor / Hystrix.stream to see the real-time monitoring data.
Add dependency
...
Posted by roninblade on Wed, 25 Mar 2020 20:10:13 -0700
Integrating SpringBootAdmin and Nacos and SpringSecurity
Preface
It is agreed as follows:
SpringBootAdmin - SBA
SpringSecurity - SSE
According to the current situation of search engine retrieval, everyone's application of SBA is relatively limited, with few divergent use. It is basically based on the example given on the official website (eureka-SBA-SSE),
In addition, there are some confusing probl ...
Posted by stevel on Wed, 18 Mar 2020 08:30:50 -0700
Spring cloud uses Feign and Hystrix to realize fault-tolerant protection of services
@[toc]
Spring cloud uses Feign and Hystrix to realize fault-tolerant protection of services
Preface
The fault-tolerant protection of Hystrix enables the code to be spliced with the + sign when it is called. The implementation method is not elegant, as shown in the figure below.
Hystrix calls service
@HystrixCommand(fallbackMethod = "fallbac ...
Posted by kam_uoc on Wed, 18 Mar 2020 05:33:26 -0700
Maven pom.xml add local jar package dependency and packaging method
When packaging Maven project, if you need to add local jar package dependency, you can choose two methods:
1. Install to local warehouse
The first method is more conventional, which is applicable to the jar package to be added when it is exported by maven project and contains pom files. Just install the jar package into the local maven reposito ...
Posted by MadnessRed on Tue, 17 Mar 2020 11:13:01 -0700