Certificate super detailed parsing of cer Certificate (serial number, issuer, public key, etc.)
We generally say that certificate is digital certificate: digital certificate refers to a digital authentication that marks the identity information of all communication parties in Internet communication. People can use it to identify each other on the Internet
There are generally two kinds: PFX certificate and CER certificate
PFX certificate ...
Added by evdawg80 on Wed, 02 Mar 2022 12:28:49 +0200
The use of CO process in java
background
Java collaboration. We haven't heard much about Java collaboration for so long, but we often hear the concept of collaboration. This article introduces the specific use of collaboration in Java.
I've seen a lot of examples of java using quasar framework to realize collaborative process, but many of them are written in the wrong ...
Added by fisicx on Wed, 02 Mar 2022 12:20:40 +0200
Spring Cloud Eureka: Client source code
entrance
stay Last In the built Spring Cloud Client project, Eureka client was successfully started after adding a little configuration to the configuration file. How did the client join Spring? We know that if we want to register some beans into Spring, but these beans are not under the scanning path of Spring, there are only two schemes ...
Added by edg322 on Wed, 02 Mar 2022 11:14:38 +0200
Double vs BigDecimal
1. Accurate floating-point operation:
In Java, sometimes accurate data is needed to ensure the accuracy of numerical values. You can find the problem by providing an example first:
public class FloatNumberTester {
public static void main(String args[]){
System.out.println(0.05+0.01);
System.out.println(1.0 - 0.42); ...
Added by n00854180t on Wed, 02 Mar 2022 11:10:19 +0200
Using nacos as the configuration center
nacos Alibaba is an open source application architecture. Its core is "service", which provides a series of functions such as service discovery, configuration center and micro service management around services.
The reason for choosing nacos is Chinese ecology, which is simple and easy to use.
Key features of nacos (extracted from o ...
Added by mrinfin1ty on Wed, 02 Mar 2022 10:52:44 +0200
6. Handle exceptions in a unified way and record logs in a unified way using the idea of AOP
#Unified exception handling
SpringBoot has a unified method of handling exceptions
To put the exception under a specific path, you only need to put the error page under templates/error. The name of the error page should be consistent with the error type code
When the corresponding type error occurs, springboot will automatically jum ...
Added by ialsoagree on Wed, 02 Mar 2022 10:49:47 +0200
Struct2: 1. Realize the download function
Mode 1:
Query data: Struts 2 realizes the file download function_ tanyunlong_nice column - CSDN blog_ Struts 2 download function
About result type = "stream" in struts 2_ Z69183787 column - CSDN blog
. jsp code
<a href="javascript:openxieyiApplication()">Template download</a>
function openxieyi ...
Added by amethyst42 on Wed, 02 Mar 2022 10:11:16 +0200
Hive configuration update and delete data operations
Hive supports transaction and row level updates from version 0.14, but it is not supported by default. Some additional configurations are required. To support row level insert, update and delete, hive support transactions need to be configured.
1, Hive has the use scenario of ACID semantic transaction 1. Stream data. Many users use tools such ...
Added by ibo on Wed, 02 Mar 2022 10:11:06 +0200
Loop structure commonly used in Java
Cyclic structure
while Loop do while loop for loop An enhanced for loop is introduced in Java 5, which is mainly used for arrays
while Loop
while is the most basic loop. Its structure is: while(Boolean expression){
//Cyclic content
}
As long as the Boolean expression is true, the loop will continue to execute. In most cases, we ...
Added by rizi on Wed, 02 Mar 2022 08:59:29 +0200
Only value passing in Java? Thoroughly understand an article
Novice on the road, record their understanding. In C + +, there are two ways for functions to pass values: Value Passing and reference passing. In Java, only values are passed, even if the object passed is of reference type (such as String). The so-called value transfer refers to transferring a copy of the argument to the function when calling ...
Added by Azala on Wed, 02 Mar 2022 07:21:49 +0200