ActiveMQ and Zookeeper High Availability Cluster

https://blog.csdn.net/xiaoxsen/article/details/79050842 Note: Close the firewall Prerequisite: Prepare three server nodes to install and deploy Zookeeper and ActiveMQ. My three nodes are 192.168.1.130, 192.168.1.163 and 192.168.1.165, respectively. Inst ...

Posted by jbingman on Fri, 19 Jul 2019 00:07:47 -0700

Know Dubbo from scratch

[TOC] 1. What is Dubbo? http://dubbo.apache.org/zh-cn/index.html Apache Dubbo is a high performance Java RPC framework. Dubbo is a distributed service framework dedicated to providing high-performance and transparent RPC remote service invocation solutions and SOA service governance solutions. Simply put, Dubbo is a service framework. If ther ...

Posted by CantonWeb on Thu, 18 Jul 2019 20:00:27 -0700

cascade and inverse of hibernate in java

1.Cascade is a cascade action. In many_to_one, if cascade is used to cascade related objects, the following code can cascade to save Category objects. Mapping File Settings in Book <many-to-one name="category" column="cid" cascade="save-update"/> When saving a book, if the corresponding category of the book is not saved, save the c ...

Posted by zeberdeee on Thu, 18 Jul 2019 09:43:44 -0700

jmap: Java's own performance monitoring tool

This article continues with the introduction of Java's own performance monitoring tools. This article uses jmap tools to play with them.~ jmap (Java Memory Map) command can generate heap snapshots and object statistics of Java applications, analyze the generated heap snapshots, analyze the memory occupied by objects in the heap, check large ...

Posted by vivekjain on Tue, 16 Jul 2019 16:29:21 -0700

java uses POI to manipulate excel files, realize batch export and import

Definition of POI There are two mainstream toolkits for operating Excel in JAVA: jxl and poi. jxl can only operate Excel 95, 97, 2000, that is, excel suffixed with. xls. poi can operate Excel 95 and later versions, and can operate excel with suffixes of. xls and. xlsx. POI is called Poor Obfuscation Implementation, literally translated as &quot ...

Posted by lastcraft on Tue, 16 Jul 2019 11:24:31 -0700

Dynamic Sorting JavaBean s

In Java, if you sort objects, you can consider implementing the Comparable interface, but once the properties that need to be sorted are specified, they cannot be modified. The BeanUtils component provides support for JavaBean dynamic sorting, which allows you to specify sorting attributes at runtime. The running effect of the example is shown ...

Posted by High_-_Tek on Tue, 16 Jul 2019 10:14:37 -0700

ant+jmeter+Jenkins Interface Automation Test Practice (1)

    In the project, we need to do the interface automation test, so we go to do the experiment, and do the experiment from building the test environment. In the process of learning, we will certainly encounter different problems, so we spent two days to make a simple interface automation environment, and also encountered som ...

Posted by UnsuitableBadger on Mon, 15 Jul 2019 14:37:03 -0700

Po Realizes Generating Pull-down Selective Linkages

In our actual program development, we often need to import data system from excel. In order to prevent users from entering text randomly in excel, some places need to use drop-down selection, we need to generate templates dynamically from the program. This example briefly explains how to generate cascade drop-down selections.   Effect d ...

Posted by shana on Sat, 13 Jul 2019 14:10:26 -0700

(1) Registration of Spring Cloud Eureka Services in Discovery, and Part of the Analysis

Spring Cloud is a distributed system that provides more flexible configuration and use. The function is very rich. Eureka Server will provide service registration service, after each service node starts, it will register in Eureka Server, so that Eureka Server has the information of all service nodes, and Eureka has a monitoring page, which ca ...

Posted by devxtech on Fri, 12 Jul 2019 19:37:38 -0700

mac installation zookeeper pseudo cluster

Catalogue 1. Configuration 2. Start all servers of zookeeper pseudo cluster 3. Access Client 4. Writing startup scripts 1. Configuration zookeeper download address: http://mirrors.cnnic.cn/apache/zookeeper/zookeeper-3.4.6/  Deploy three servers on a machine, create a folder zookeeperLab under the specified folder, create three folders server ...

Posted by Hitch54 on Thu, 11 Jul 2019 14:23:51 -0700