Add, delete, modify and query LDAP data with java
Add, delete, modify and query LDAP data with java
1, ldap is used in many systems, and code is needed to realize data management of ldap in specific business. First, add the dependency package of ldap:
<dependency>
<groupId>org.springframework.ldap</groupId>
<artifactId>spring-ldap- ...
Posted by Cobby on Thu, 02 Apr 2020 19:26:51 -0700
Initial experience of Web Service: axis calls wsdl and document parsing
Neo Jun met the situation that he needed to call the web service interface. However, as a little white, he was tired of understanding this aspect. After groping, he completed a small Demo and recorded it.
1: background
My colleague gave me a web service address. After opening it, the suffix is "...? wsdl". Put the link "http: / / ...
Posted by canadian_angel on Thu, 02 Apr 2020 10:04:29 -0700
Spring cloud Chapter 7: Message Bus
Spring Cloud Bus connects distributed nodes with lightweight message brokers. It can be used for broadcast profile changes or communication between services, or for monitoring. This article is about the implementation of Spring Cloud Bus to notify the change of configuration file of microservice architecture.
1, Preparations
This article is ...
Posted by imartin on Thu, 02 Apr 2020 01:50:28 -0700
Remember a packet scan error
For a long time, I was very distressed about the problem of unable to inject dependency. For similar problems, I made the following summary:
1. For distributed architecture
If the prompt indicates that the dependency cannot be injected, consider which project is not referenced. For the war package, all references should be made, for example:
...
Posted by shams on Wed, 01 Apr 2020 11:06:51 -0700
A study of Ignite CS mode java
In the form of command line, expanding cluster is to increase Server continuously , in many practical business scenarios, we need to implement CS pattern with Ignite, and this article will provide detailed code.
Major maven dependencies:
<dependency>
<groupId>org.apache.ignite</groupId>
...
Posted by Bit343 on Wed, 01 Apr 2020 04:33:11 -0700
zstack version upgrade
Summary
Today, I saw the installation image of zstack on the official website, and found that it was released on March 24, 2018. Because the local environment is a test environment, and I haven't tried to upgrade zstack, I plan to upgrade zstack
Things to know before upgrading
First of all, zstack supports two upgrade methods on the official w ...
Posted by onlyican on Tue, 31 Mar 2020 18:00:03 -0700
Using RESTFUL interface of CAS to log CS system into BS system
Get ready
First, refer to the previous article to configure CAS and RESTFUL. Refer to:
http://blog.csdn.net/happyteafriends/article/details/7450120
The scenario is as follows,
CAS address: http://10.1.81.223:8080/cas-server-webapp
Two WEB application addresses: http://10.1.81.223:8080/webapp2
http://10.1.81.223:8080/webapp1
Objectiv ...
Posted by royalsolo on Tue, 31 Mar 2020 13:00:56 -0700
Spring boot multi environment separation of resources and lib for packaging
In order to facilitate local development, testing and production packaging are occasionally involved. The configuration of each environment is different. Configuration files of multiple environments need to be configured to avoid having to modify the configuration files when packaging
The default configuration file of the SpringBoot project is ...
Posted by riespies on Tue, 31 Mar 2020 02:38:28 -0700
Installing mysql environment under linux
1. When installing apache, it has been checked that there is no mysql native to centos installed locally. If there is any, it must be uninstalled, or the port may be occupied
2. Prepare mysql installation package (note that when compiling, the compilation of mysql 5.5 and above is different from that of mysql 5.5 and below. 5.5 needs to be comp ...
Posted by Honor on Mon, 30 Mar 2020 11:37:11 -0700
java executing bash script
Background
Soon after May 1, in order to cope with the online service outage, the leader arranged everyone to take turns on duty. But the server is deployed in the intranet. Even if you know that it is down and want to restart, you can't do without a computer. It's not feasible for us to take computers to travel on May Day. So ...
Posted by simply on Sun, 29 Mar 2020 08:07:18 -0700