zookeeper native api operation

/** * TODO: * @package: com.zzhijian.zookeeperdemo.zk * @date: 2019-08-15 10:57 **/ @Slf4j public class ZookeeperDemo { private static String ZK_ADDRESS = "zkServer:2181,zkServer:2182,zkServer:2183"; public static void main(String[] args) { try { ZooKeeper zooKeeper = ge ...

Posted by boardy on Wed, 02 Oct 2019 00:20:06 -0700

Activiti Guidelines (Creating and Setting Maven Projects)

Create and set up Maven projects Create a Java project called "Activity Developer QuickStart" (hereinafter referred to as $quickStart Java Project Name), which contains the following Maven dependencies: Document: $mvnProject/pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-insta ...

Posted by chamal on Wed, 02 Oct 2019 00:04:38 -0700

SpringBoot uses Axis to integrate Web Services

1. Prospect Review In the previous chapter, I introduced SpringBoot's use of CXF to integrate Web Services. SpringBook Integrates Web Services with CXF What you want to know can be reviewed. In this chapter, we will study how to integrate Axis, which is more complex than CXF integration. 2. SpringBook Integrated Web Service 2.1 Adding Dependenc ...

Posted by Gillesie on Tue, 01 Oct 2019 10:46:24 -0700

Summary: HBase Notes

Reference link: http://abloz.com/hbase/book.html#d613e75 The final version: https://mirrors.tuna.tsinghua.edu.cn/apache/hbase/1.3.5/hbase-1.3.5-bin.tar.gz I. installation Extract it, then modify hbase-site.xml to specify the storage path of the data; Entering HBase Environment ./bin/hbase shell 3. Other relevant orders Enter help and &lt ...

Posted by pas07920 on Tue, 01 Oct 2019 09:35:56 -0700

Basic operation of Elastic search API

Basic operation of Elastic search API Article directory Basic operation of Elastic search API 1. Corresponding relationship with relational database 2. Index ** Creating Index** ** Delete Index** 3,mapping Create index and mapping Set Mapping after Index Creation 4, document 4.1 New Documents ...

Posted by Snewzzer on Tue, 01 Oct 2019 07:35:54 -0700

Introduction to mybatis: inserting data into database (eclipse version)

Mybatis Knowledge Reserve: I. framework Understanding: framework is actually a semi-finished product of an application, a set of components for you to choose and complete your own system. Simply put, use the stage set up by others to perform. Moreover, frameworks are generally mature, upgraded softwar ...

Posted by Grim... on Mon, 30 Sep 2019 21:05:38 -0700

Talk about dubbo's dubbo Component Scan Registrar

order This article focuses on dubbo's dubbo Component Scan Registrar. DubboComponentScanRegistrar dubbo-2.7.3/dubbo-config/dubbo-config-spring/src/main/java/org/apache/dubbo/config/spring/context/annotation/DubboComponentScanRegistrar.java public class DubboComponentScanRegistrar implements ImportBeanDefinitionRegistrar { @Override pub ...

Posted by firecat318 on Mon, 30 Sep 2019 13:53:09 -0700

Java Server Establishes Long Links as Web Socket Client

In recent projects, web socket communication between Java server and c++ is needed. The plug-in of java_websocket.client.WebSocketClient solves this requirement well. First, you need to introduce this dependency in the pom.xml file: <dependency> <groupId>org.java-websocket</group ...

Posted by turpentyne on Mon, 30 Sep 2019 09:04:38 -0700

Shiro+ehcache Configuration Cache Authentication Information and Authorization Information

<bean id="securityManager" class="org.apache.shiro.web.mgt.DefaultWebSecurityManager"> <property name="realm" ref="userRealm"/> <property name="cacheManager" ref="ehCacheManager"/> </bean> <bean id="ehCacheManager" class="org.apache.shiro.cache.ehcache.EhCach ...

Posted by nigeledge on Mon, 30 Sep 2019 07:21:24 -0700

[Zabbix 4.2 Learning Notes] 8. Data Collection - JMX Agent

JMX Agent is used to monitor the application of java class JMX Agent can realize the standardization and application management of various operating systems, system architecture, network protocols. Server side configuration: JAVA Gateway needs to be started when zabbix server is installed zabbix serve ...

Posted by accu on Mon, 30 Sep 2019 05:59:55 -0700