In java development, encryption is still a very common requirement. There are two common encryption methods: symmetric encryption and asymmetric encryption, which use different encryption and decryption keys. The detailed encryption principle will not be discussed here. AES encryption is widely used in Java
Posted on Sat, 02 May 2020 07:56:31 -0700 by phpconnect
This article mainly focuses on the optimization of write configuration files, such as jdbc.properties configuration file, files introduced into database, such as driver,url,username,password, etc., and then introduce the corresponding file in SqlMapConfig.xml to simplify the configuration file. In SqlMapConfig.xml, use < typealiases > < ...
Posted on Fri, 01 May 2020 15:14:59 -0700 by aaadee
In the Spring Cloud Netflix stack, each microservice exposes its own services in the form of HTTP interface, so HTTP client must be used when calling remote services. We can use the native URLConnection of JDK, HttpClient of Apache and asynchronous HTTP of Netty
Client, Spring's RestTemplate. But the most convenient and elegant thing to use i ...
Posted on Thu, 30 Apr 2020 22:26:04 -0700 by adksga
Follow the previous article "ActiveMQ simple learning 1 of JMS": https://my.oschina.net/hanchao/blog/1611447
The publisher / subscriber model supports a specific message topic to publish messages. 0 or N subscribers may be interested in receiving messages from a specific topic. In this model, publishers and subscrib ...
Posted on Thu, 30 Apr 2020 19:36:50 -0700 by yandoo
Redis is completely open source and free. It complies with BSD protocol and is a high-performance key value database.
Redis and other key value caching products have the following three features:
Redis supports data persistence. Data in memory can be saved on disk. It can be loaded again for use when restarting.
Redis not only ...
Posted on Thu, 30 Apr 2020 01:23:09 -0700 by Klojum
[root@centos6 httpd-2.4.29]#./configure --prefix=/app/httpd24 \
[root@centos6 httpd-2.4.29]#Make & ...
Posted on Wed, 29 Apr 2020 23:58:33 -0700 by oc1000
In this lesson, we mainly introduce Flink's DataSet and DataStream's API, simulate the scene of real-time calculation, and explain the use of the commonly used API of DataStream in detail.
It's said that flow and batch are integrated
As mentioned in the previous course, one of the most important features of Flink is "flow ...
Posted on Tue, 28 Apr 2020 02:01:10 -0700 by yuws
This article comes from Netease cloud community
In the previous article, we generated a Web program that can run directly through a few simple steps. This is because spring boot has done a lot of work instead of us. Generally speaking, it can be divided into start-up dependency and automatic configuration. In this article, let's first look at ...
Posted on Fri, 24 Apr 2020 05:59:08 -0700 by davidjwest
RestTemplate is a synchronous Http client request template tool. An abstraction of what the Spring framework does.
The official document address is as follows:
RestTemplate uses HttpUrlConnection by default, and the underlying execution engi ...
Posted on Wed, 22 Apr 2020 10:38:21 -0700 by tomwhalen
Last time I said it. Analysis of ActiveMQ authorized source code simpleAuthentication (1) Let's see how JAAS is doing this time. To use JAAS authentication first, JAAS authentication needs to be introduced into ActiveMQ.xml
Both users.properti ...
Posted on Sun, 19 Apr 2020 23:58:07 -0700 by Rongisnom