Quickly understand the commonly used asymmetric encryption algorithms, and no longer have to worry about the thorough inquiry of the interviewer
Interviewer: what are your commonly used encryption algorithms?
Encryption algorithms are usually divided into two kinds: symmetric encryption algorithm and asymmetric encryption algorithm. The symmetric encryption algorithm uses the same key in encryption and decryption; Asymmetric encryption algorithm uses different keys in encryption and ...
Added by Xadian on Mon, 07 Mar 2022 09:25:38 +0200
Random talk: how does the log portal slf4j integrate the log framework
I preface
This article discusses some simple things, mainly to understand what log portal is and how it is integrated
II Log portal
The Java Development Manual published by Ali has such a mandatory specification:
The API in the logging system (Log4j, Logback) can not be directly used in the application, but the API in the logging framework ...
Added by Gregghawes on Mon, 07 Mar 2022 09:11:55 +0200
Java object oriented
JAVA object oriented
Advantages of object orientation:
Consistent with human thinking, "class" simulates abstract concepts in the real world, and "object" simulates entities in the real worldInformation hiding to improve the maintainability and security of the program: encapsulating the attributes and behaviors of the ...
Added by matt86 on Mon, 07 Mar 2022 08:22:21 +0200
Notes on Java exception handling mechanism
What is an exception
Abnormal situation An abnormal condition that occurs during the operation of a program, resulting in the unexpected termination of the program.
How to handle exceptions
In Java, the exception information is encapsulated into a class. When a problem occurs, it will create an exception class object and throw exception rela ...
Added by jthomp7 on Mon, 07 Mar 2022 07:39:26 +0200
java learning ~ exception try catch, throw, finally
Thorwable class (indicating that it can be thrown) is the superclass of all exceptions and errors. The two direct subclasses are Error and Exception, which represent errors and exceptions respectively.
The Exception type Exception is divided into runtime Exception and non runtime Exception, which are very different, also known as Unchecke ...
Added by esfisher on Mon, 07 Mar 2022 06:27:37 +0200
How to internationalize basic JSP/Servlet Web Applications (i18n)
First, we will learn how to use JSTL Taglib to localize JSP pages. In addition, we will demonstrate how to use request parameters, session attributes and cookie values to select the preferred language in JSP pages. In addition, we will use Maven to set up the project. Therefore, we hope readers have the basic knowledge of Java Web Application, ...
Added by almightyegg on Mon, 07 Mar 2022 06:17:43 +0200
[series of basic Java tutorials] Chapter 13 detailed explanation of Java Object class, String class, StringBuffer and StringBuilder (including principle analysis)
1, Object class
1.1 overview of object class
Package: Java lang
Class definition: public class Object
Class Object is the root class of class hierarchy. Each class uses Object as superclass. All objects (including arrays) implement the methods of this class.
Why define a hierarchy root class? Java believes that all objects have some basic ...
Added by mwkemo on Mon, 07 Mar 2022 05:27:16 +0200
Internal calls between microservices
2. Service invocation
2.1 LoadBalancer integrates RestTemplate to call other micro services
2.1.1 introduction
2.1.1.1 introduction to resttemplate
RestTemplate is a network request framework in Spring Resources that accesses third-party RESTful API interfaces. The design principle of RestTemplate is similar to that of other spring template ...
Added by Desbrina on Mon, 07 Mar 2022 05:22:15 +0200
Open camera after android 7.0 to take avatar upload
Today, I'm doing android development related to this avatar. I keep looking for data on the Internet and don't know anything. Then I copy it.
What's the problem? Now android can open a camera without simply asking for it. According to the data I found today, the URI of the file can't be used outside of this APP, so a conversion is needed. Then ...
Added by ggkfc on Sun, 06 Mar 2022 20:22:30 +0200
Roll it up and take you to write a distributed RPC framework that middle and senior programmers will know
I summary
What is RPC?
Remote service callOfficial: the idea of requesting services from remote computer programs through the network without understanding the underlying network technologyA little more popular: without knowing the details of the call, the client calls an object that exists on the remote computer, just like calling an objec ...
Added by donald on Sun, 06 Mar 2022 16:46:07 +0200