mybatis Series IV: Dynamic SQL

Dynamic SQL is a powerful feature of MyBatis.When using JDBC to manipulate data, concatenating conditions into SQL strings can be painful if there are too many query conditions. The usual solution is to write a lot of if-else conditional statements and strings to concatenate, and make sure you don't forget spaces or omit commas at the end of fi ...

Added by jaikar on Tue, 07 Jul 2020 18:08:09 +0300

Change the password of Apache ActiveMQ

Related abbreviation abbreviation explain MQ In this article, we specifically refer to Apache ActiveMQ $ACTIVEMQ_HOME MQ installation directory Modify the console login password of MQ Since MQ is started in the jetty container, you only need to change the following two places to change the ...

Added by vito336 on Sat, 27 Jun 2020 09:32:42 +0300

Summary of ActiveMQ vulnerability utilization

preface: Apache ActiveMQ is a set of open source message middleware developed by Apache Software Foundation in the United States. It supports Java message service, cluster, Spring Framework, etc. With the start of middleware, two ports will be opened, 61616 is the work port, where messages are deliver ...

Added by tr0gd0rr on Tue, 23 Jun 2020 11:14:09 +0300

dubbo of springboot series

dubbo of springboot series Introduction to dubbo Apache Dubbo`Is a high performance Java RPC framework.(1) High performance RPC calls for interface proxyProvides high-performance proxy-based remote invocation capabilities. Services are interface-granular and shield developers from the underlying details of remote invocations.(2) Intelligent Loa ...

Added by cleromancer on Sun, 21 Jun 2020 19:12:57 +0300

RocketMQ for reliable message final consistency

RocketMQ for reliable message final consistency Business description In this case, RocketMQ middleware is used to realize the final consistent distributed transaction of reliable messages and simulate the transfer transaction process of two accounts. Two accounts are in different banks (Zhang San is ...

Added by legomez2000 on Sun, 21 Jun 2020 09:31:11 +0300

Reverse proxy and load balancing in Apache 2.4

The content of the article is from the official document: http://httpd.apache.org/docs/2.4/howto/reverse_proxy.html Like nginx, Apache httpd provides reverse proxy and load balance. The following modules need to be enabled in the Apache httpd configuration: LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_balancer_module modules/mo ...

Added by vund0 on Sat, 13 Jun 2020 11:05:30 +0300

Kafka Java client use

Article catalog 1. Common configuration 2. kafka-clients 2.1 producers 2.2 consumers 2.3 multithreading 1. Common configuration producer to configure describe type Default bootstrap.servers It is used to establish the connection with kafka cluster and only affects the hosts used for init ...

Added by Gmans on Sat, 13 Jun 2020 07:34:03 +0300

21, Spring cloud Alibaba Nacos service registration and configuration center

Spring cloud Alibaba Nacos service registration and configuration center About Nacos Why Nacos The first four letters are Naming and Configuration, and the last s is Service What is it? A dynamic service discovery, configuration management and service management center easier to build cloud nat ...

Added by luckybob on Thu, 11 Jun 2020 06:08:17 +0300

[Zookeeper Learning Notes]|12, Zookeeper Realization - Master Election

1. Introduction 1. Overview a:Master elections are a very common scenario in distributed systems.In distributed systems, master-slave mode is often used to avoid single point failures and improve the availability of system services. b: Normally, Master nodes are used to coordinate other system units ...

Added by fredcool on Wed, 10 Jun 2020 04:16:55 +0300

TOMCAT source code analysis -- start

TOMCAT source code analysis - start Preposition The source version of Tomcat is version 9.0.35 downloaded from the official website. configuration file The configuration file started by Tomcat is server.xml The start-up process is all around it, and the module structure of Tomcat can also be seen ...

Added by anthylon on Sat, 06 Jun 2020 09:05:19 +0300