Create Maven private warehouse with Nexus

Go to http://www.sonatype.org/nexus/go/ Download nexus-2.14.5-02-bundle.tar.gz Create the nexus directory in the server and download the Nexus (upload it to the oss first and then download it in the form of wget) [root@iZm5e0c5bxd15k4yfdiirsZ opt]# mkdir nexus [root@iZm5e0c5bxd15k4yfdiirsZ opt]# ls apache-tomcat-8.0.30 jdk1.8.0_11 nexus r ...

Posted by rupertbj on Sat, 04 Apr 2020 09:42:49 -0700

(6) Build dubbo distributed platform maven build config configuration project

In the previous article, we introduced build dubbo distributed platform maven build ant parent project. The framework uses maven to build. According to our plan, we need to build all subprojects. Today, we focus on the construction process of ant config configuration file project. Introduction: The purpose of independent ant config project is ...

Posted by adaykin on Fri, 03 Apr 2020 21:35:27 -0700

Mybatis: how to use mybatis

1, Create a project (this article takes the project that Idea builds based on Maven as an example) New->Project                   I choose my local Maven and configuration here       Finally, click Finish       2, Add dependency package in configuration file Add package dependency of Mybatis, JDBC driver and log4j log management ...

Posted by piyushsharmajec on Fri, 03 Apr 2020 18:46:29 -0700

java RSA asymmetric encryption decryption (concise)

Last article: Generation of RSA asymmetric encryption certificate (concise and clear) See my last article for the generation of Java asymmetric encryption certificate. The lower part is mainly the Java decryption part. Use the certificate pkcs8 ﹣ private ﹣ key.der (that is: Generation of RSA asymmetric encryption cer ...

Posted by dwu on Fri, 03 Apr 2020 13:45:11 -0700

Installation and use of ActiveMQ

ActiveMQ installation Go to http://activemq.apache.org/ official website to download ActiveMQ Installation environment: 1. jdk required 2. Install the Linux system. The production environment is all Linux systems. Installation steps: Step 1: upload the ActiveMQ compressed package to the Linux system. Step 2: decompress. Step 3: start. Use the ...

Posted by TechXpert on Fri, 03 Apr 2020 11:28:46 -0700

Activiti series (4) automatic submission of the first step of the process

1. Reasons for realizing the first step of automatic submission Comparing the following two flow charts, we can see that the second chart better reflects the process of application initiation. In addition, the second flow chart can better realize the business logic of the leader approval phase returning to the initi ...

Posted by LAMP on Fri, 03 Apr 2020 06:19:19 -0700

ActiveMQ and spring integration

1 producers Step 1: reference the relevant jar package. <dependency> <groupId>org.springframework</groupId> <artifactId>spring-jms</artifactId> </dependency> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context-support</artifactId> </depende ...

Posted by just_nobody on Fri, 03 Apr 2020 04:43:23 -0700

Python counts the number of lines in the disk code file

I heard that the resume requires 100000 lines of code experience. So I wrote a Python script to calculate the number of lines of code in the computer disk. Main functions: ① Count the total number of lines of the specified code ② Count the individual lines of each code ③ Custom settings storage path Design idea: Convert t ...

Posted by paulytrick on Fri, 03 Apr 2020 00:12:18 -0700

rulebook rule engine example

Forced distribution is often used in performance management, such as: As shown in the figure, this table is applicable to the number of departments with more than five people, for example: Zhang San's department performance is A, It belongs to A department, There are 20 people in the Department, Zhang San ranks the 8th in the Department; A ...

Posted by jackthebookie on Thu, 02 Apr 2020 21:53:21 -0700

Dynamic query of jpa

order This paper mainly studies the dynamic query of jpa javax.persistence.criteria jpa absorbs criteria from hibernate, and it can also realize end-to-end dynamic query by using criteria and parsing url query syntax. The following shows the implementation of spring side branch 4. springside branch 4 SearchFilter /**************************** ...

Posted by Noctagon on Thu, 02 Apr 2020 19:46:26 -0700