Mybatis -- optimize configuration file based on annotation CR

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 > &lt ...

Posted on Fri, 01 May 2020 15:14:59 -0700 by aaadee

The ninth chapter Spring Cloud Feign declarative call service

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

AcTiveMQ simple learning 2 - Publish / subscribe to messages

Follow the previous article "ActiveMQ simple learning 1 of JMS": https://my.oschina.net/hanchao/blog/1611447 1, Introduction 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

Install redis under wamp

About Redis 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

Error in compiling and installing httpd-2.4.29 in CentOS 6

[root@centos6 httpd-2.4.29]#./configure --prefix=/app/httpd24 \ --enable-so \ --enable-ssl \ --enable-cgi \ --enable-rewrite \ --with-zlib \ --with-pcre \ --with-apr=/app/apr/ \ --with-apr-util=/app/apr-util/ \ --enable-modules=most \ --enable-mpms-shared=all \ --with-mpm=prefork [root@centos6 httpd-2.4.29]#Make & ...

Posted on Wed, 29 Apr 2020 23:58:33 -0700 by oc1000

Lesson 04: Flink's common DataSet and datastream APIs

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 Present situation 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

Getting started with SpringBoot

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

Introduction and use example of Spring Web RestTemplate

RestTemplate is a synchronous Http client request template tool. An abstraction of what the Spring framework does. The official document address is as follows: https://docs.spring.io/spring/docs/current/spring-framework-reference/integration.html#rest-resttemplate RestTemplate uses HttpUrlConnection by default, and the underlying execution engi ...

Posted on Wed, 22 Apr 2020 10:38:21 -0700 by tomwhalen

jaasAuthentication of authorization source code of ActiveMQ

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 <jaasAuthenticationPlugin configuration="activemq-domain" discoverLoginConfig="true" /> Both users.properti ...

Posted on Sun, 19 Apr 2020 23:58:07 -0700 by Rongisnom

ActiveMQ listening sample get Connection and disconnect

It was intended to continue updating   Analysis of ActiveMQ authorized source code simpleAuthentication (1) Because of the busy work and new tasks, the company plans to set up a message center for business reasons. Meanwhile, it needs to know the disconnection and establishment of the connection (business: the mobile phone needs to upload the g ...

Posted on Sun, 19 Apr 2020 22:54:23 -0700 by Devil_Banner