javaSpring uses maven's initial build step java project

1. Modify in maven projectPom.xmlIntroduce dependencies on spring.<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>com ...

Posted by rockintyler on Sun, 05 Jul 2020 16:37:42 +0200

Use TrueLicense in Spring Boot project to generate and verify License (Server License)

Article catalog 1, Introduction 2, Use TrueLicense to generate License 1, in pom.xml Add key dependencies to 2. Verify the user-defined License parameters 3. Add a Controller to generate certificate: 3, Using the keytool tool provided with JDK to generate public private key certificate Library 4, G ...

Posted by parboy on Tue, 23 Jun 2020 09:38:53 +0200

How to produce a simple message using RabbitMQ

A recent scenario in business is that if a user has not paid for 30 minutes after placing an order in a store, the order needs to be disposed of, either deleted or marked as invalid. Why? 1. Inventory, the user will lock an inventory after placing an order. If the user does not pay, it will occupy the inventory and affect other users'purchase. ...

Posted by cuboidgraphix on Mon, 11 May 2020 04:11:56 +0200

Spring boot loading log module order

Spring boot load log module Spring jcl Spring jcl is the basic package for spring boot to connect SLF4J. It implements the existence of Log4j 2.x API and SLF4J 1.7 API in the spring framework classpath. ServiceLoader Find the implementation class of the interface through configuration, create a new folder services under META-INF of the jar pack ...

Posted by Kingskin on Wed, 29 Apr 2020 16:32:38 +0200

Log system reconstruction of Unity3d

Editor's note Since the Log system of Unity3d is to be rewritten, it is changed to the user-defined mode, and the content method displayed according to Log4j is used Log of Unity3d In general, write log entry code in Unity3d Debug.Log("hello message"); In UnityEditor and UnityEngine, in addition to printing message s, stack information will al ...

Posted by RussellReal on Wed, 15 Apr 2020 19:52:49 +0200

Java log introduction - commons logging

Apache Commons Logging(JCL) provides a simple log abstraction that allows developers to use specific log implementations. JCL can use other log implementations, including Log4J, Avalon LogKit(Avalon's log framework), and JDK logging(JUL). This paper mainly introduces the simple use of JCL, the software version used in this paper: Java 1.8.0, co ...

Posted by jakobdoppler on Fri, 06 Mar 2020 05:11:47 +0100

Timed Task Framework Quartz Learning Notes

In this post: Introduction to Quartz Quartz Quick Start Guide This article only does the introduction and the effect preview project construction, does not do the code analysis. Introduction to Quartz Quartz is a rich and open source job scheduling library that can be integrated into almost any Java application, from the smallest stand-alo ...

Posted by lbaxterl on Mon, 24 Feb 2020 18:06:12 +0100

Using Kafka under Windows

1, Prepare ZooKeeper Download the latest stable version from the official website: 3.5.6 . After downloading, extract it to the local location, find zoo_sample.cfg in the conf directory, rename it to zoo.cfg, and modify the data storage directory in it: #dataDir=/tmp/zookeeper dataDir=D:/hecg/apache-zookeeper-3.5.6-bin/data Start with git com ...

Posted by daverules on Mon, 20 Jan 2020 18:22:24 +0100

SSM framework building tutorial project creation

The first time I wrote back-end, I went online to find many tutorials, but I didn't find many details. I found a lot of holes when I did it myself. I filled in the process of building the holes I met. As long as I followed the tutorial, you can build a complete ssm framework Title first create project ...

Posted by blr32 on Wed, 15 Jan 2020 03:36:11 +0100

Zookeeper installation (Mac), configuration, common commands and simple java instance

Zookeeper introduction zookeeper is a distributed service framework, which is mainly used to solve data management problems in distributed applications, such as unified naming service, state synchronization service, cluster management, distributed application configuration item management, etc. zookee ...

Posted by XeroXer on Mon, 13 Jan 2020 04:09:59 +0100