ActiveMQ encoding implementation

1. ActiveMq coding implementation Create a new maven project corresponding to pom.xml Some contents of the file are as follows. jdk is 1.8 and other configurations are generated automatically. <dependencies> <dependency> <groupId>junit</groupId> <artifactI ...

Added by IcedEarth on Wed, 24 Jun 2020 08:20:44 +0300

JUnit of Java unit test

Unit test is to write test code, which should ensure the correctness of basic program modules accurately and quickly.Good unit test standards JUnit is a Java unit testing framework that has been installed by default in Eclipse. JUnit4### JUnit 4 identifies test methods by annotations. Currently, the main comments supported are: @Bef ...

Added by byronbailey on Wed, 29 Apr 2020 03:01:37 +0300

SpringBoot+RabbitMQ learning notes Topic of three switches using RabbitMQ

I. Introduction Topic Exchange Match the routing key to a pattern. At this time, the queue needs to be bound to a mode. The symbol "ා" matches one or more words, and the symbol "*" does not match many words. So "audit. *" can match "audit.irs.corporate", but "audit. *" only matches "audit.i ...

Added by jholzy on Tue, 28 Apr 2020 19:52:58 +0300

Compilesdkversion minsdkversion targetsdkversion in gradle

targetSdkVersion The most interesting of the three version numbers is targetSdkVersion. targetSdkVersion is the main basis for Android to provide forward compatibility. The system will not apply the latest behavior changes until the targetSdkVersion of the application is updated. This allows you to ...

Added by Eggzorcist on Thu, 05 Mar 2020 12:55:26 +0200

java8 stream interface terminal operation collect operation

Before that, we talked about the stream operation in java8, which is divided into intermediate operation and terminal operation. In terminal operation, we also saw the reduction mode. This article mainly refers to the reduction operation mode collection, collector operation and collector operation, which can be regarded as a mo ...

Added by Reviresco on Thu, 13 Feb 2020 22:34:28 +0200

3. SpringBoot ------ email (1)

Development tools: STS Code download link: https://github.com/theIndoorTrain/Springboot/tree/8878e8e89ce01ceb967ef8c1193ac740a6f7dd40 Preface: On your birthday, Tencent will send you a beautiful birthday wish email When you register an account on a website, you often need to activate the verification in the email Let's talk about this tec ...

Added by sssphp on Thu, 13 Feb 2020 18:53:30 +0200

Introduction to Spring Boot Starters

Article Directory Web Start Test Starter Data JPA Starter Mail Starter conclusion Dependencies are a very important aspect of any complex project that requires attention and information. Important as they are, we don't need to spend too much time on them, because dependencies are just a framework. ...

Added by haironfire on Thu, 23 Jan 2020 03:04:14 +0200

Java chain method call

Article directory Traditional way Chain method Automatic generation of idea It is often seen that some codes are initialized with consecutive. set() methods, which are chained method calls. Traditional way In general, when initializing an object, we can call the. set() method to assign a value t ...

Added by spudly on Mon, 20 Jan 2020 16:43:03 +0200

Day 17 of learning java - Java collection framework

Java collection framework Java collection overview Front storage objects, arrays, disadvantages A Java collection is like a container in which you can put references to multiple objects. Java collection classes can be used to store multiple objects with different numbers, and can also be used to store ...

Added by thepip3r on Wed, 15 Jan 2020 15:01:36 +0200

The way of learning jdbc (2)

dao idea: establish a data interface: Step: 1) create a database 2) Set up the package com > shadow > domian in the project (for storing object classes) Establish object classes according to the tables in the database (in accordance with the javabean specification) 3) Set up the package com? Shadow? Dao in the project ...

Added by KCAstroTech on Sat, 04 Jan 2020 11:38:46 +0200