Manually create Maven projects and establish dependencies between the two projects

Manually create Maven projects and establish dependencies between the two projects 1. Build maven project quickly with command line -> mvn:archetype:generate ->Enter directly or input what you want to generate by yourself -> groupId ->artifactId ->If there is a default value, just enter Finally y confirms the creation Le ...

Posted on Sat, 18 Apr 2020 09:33:13 -0700 by mesh2005

The method of java SMS cat sending SMS

java is used to realize the function of sending and receiving short messages. At present, there are three ways to realize the function of group sending short messages in general projects ·1. Apply for SMS gateway to the operator without additional equipment, and use the API calling program provided by the operator to send SMS, which ...

Posted on Fri, 17 Apr 2020 23:09:47 -0700 by mburkwit

ActiveMQ custom authentication (database link) + JAAS authorization

ActiveMQ supports pluggable security mechanisms to switch between different provider s. Authorization authentication supports three ways: 1.simpleAuthenticationPlugin Just add the following configuration to the \ conf \ ActiveMQ. XML <plugins> <simpleAuthenticationPlugin> <users> <authenticationUser us ...

Posted on Thu, 16 Apr 2020 03:54:03 -0700 by macewan

When using limit paging query, do delete operation, which will result in data loss

Catalog When using limit paging query, do delete operation, which will result in data loss 1, Prepare data 1.1 mysql data script 1.2 code Two, validation 1. All data before verification 2. Data on the first page 3. Delete records 4. Add record 5. Data on the second page 6. Data after verification 7. log Three. Conclusion Four, suggesti ...

Posted on Wed, 15 Apr 2020 09:18:15 -0700 by roadkillguy

OSS Live Function Deep Sharing

Scene description At present, many live fans use live streaming made by OSS + RTMP, many of which are enterprise-level applications. Because the reception of OSS as a push is slightly complicated, let's start with it separately.Actually, it is not recommended to use OSS+RTMP for live streaming, because OSS's streaming is more suitable for speci ...

Posted on Mon, 13 Apr 2020 19:34:00 -0700 by TomT

kubernetes HPA - Ultra Detailed Chinese Official Document

The full name of HPA is Horizontal Pod Autoscaler, translated into Chinese is POD level autoscaling. HPA will replace Horizontal Pod Autoscaler with HPA below. HPA can automatically scale the number of pods in replication controller, deployment and replicaset based on CPU utilization rate (in addition to CPU utilization, it can also be based o ...

Posted on Sat, 11 Apr 2020 12:11:17 -0700 by gamblor01

Wan Zi Long Text takes you to Zookeeper!!!

Reading Guide The article was first published on WeChat Public Number (Code Ape Technical Column). It was not easy to create. Thank you for your support. Zookeeper believes you've heard about it, and the most typical use is as a service registry.Today, Chen Mou takes you to Zookeeper from zero basics. After reading this article, you will have ...

Posted on Fri, 10 Apr 2020 21:46:03 -0700 by EWaveDev

[SpringBoot search series] Solr identity authentication and authorization update exception solution

[search series] Solr identity authentication and authorization update exception solution In the previous introduction to solr, solr did not turn on permission verification, and all operations did not need authentication. It was mentioned at that time that if solr turned on permission verification, change solr's host and bring the user name / ...

Posted on Sun, 05 Apr 2020 10:27:11 -0700 by AnAmericanGunner

Docker deploy nginx service Centos7

centos7 deploys nginx service, maps the local port, simply displays the local static html page, and accesses the local http: / / < local IP >/ 1, Preparations 1. Install docker yum install docker 2. Start docker systemctl start docker 3, Download nginx image docker pull nginx 4. Configu ...

Posted on Sun, 05 Apr 2020 10:01:13 -0700 by thelinx

Maven references custom jar package

Summary In the project, a third-party jar package that is not available in Maven's central warehouse is used. How to rely on it in Maven? If the introduction is not good, the following will be reported when starting the project: java.lang.ClassNotFoundException exception Import jar In the src directory of the p ...

Posted on Sun, 05 Apr 2020 09:23:37 -0700 by GreenSmurf