Spring executes sql script (file)

This article solves the problem of Spring executing SQL script (file). The scene description can be ignored. Scenario Description: When I run a single test, that is, when the Spring project is started, Spring will execute classpath:schema.sql (explained later). I want to use this to solve a problem: Run multiple test files at a time, and each f ...

Added by golfinggod on Fri, 06 Dec 2019 11:40:08 +0200

SSM integrates activeMQ/activeMQ configuration

I. introduce dependency <!-- xbean as<amq:connectionFactory /> -->     <dependency>         <groupId>org.apache.xbean</groupId>         <artifactId>xbean-spring</artifactId>         <version>3.16</version>     </dependency>     <dependency>         <groupId>org. ...

Added by bad76 on Fri, 06 Dec 2019 01:45:27 +0200

Spring boot2 implements access to RabbitMQ image cluster

Spring boot2 implements access to RabbitMQ image cluster Spring boot2 implements access to RabbitMQ image cluster Brief description of RabbitMQ cluster code snippet Maven dependency: pom.xml Configuration file: application.properties Producer: RabbitmqProducerService.java Consumer: RabbitmqConsumerService.java Startup class ...

Added by learnphp1 on Thu, 05 Dec 2019 23:25:45 +0200

Self learning note 1: creating and building spring boot project through intellij idea

Thank you for your posts https://blog.csdn.net/typa01_kk/article/details/76696618 , but there are some differences. Please look down On the basis of predecessors, I write about the differences in my current version I. intellij idea version My version is as follows II. jdk version Third, the differences under the projec ...

Added by inferium on Thu, 05 Dec 2019 11:26:09 +0200

Spring Boot integration docker

I. what is docker? brief introduction Docker is an open source engine, which can easily create a lightweight, portable, self-sufficient container for any application. The containers that developers compile and test on laptops can be deployed in production environment in batches, including VMs (virtual machine), bare metal, OpenStack cluster and ...

Added by ClyssaN on Thu, 05 Dec 2019 11:10:18 +0200

Various problems of configuring json in spinning

What I built is that springboot is version 4.x, which sometimes brings a lot of problems Question 1 In the beginning, when we used the lower version, we configured json to return <!--&lt;!&ndash; https://mvnrepository.com/artifact/org.codehaus.jackson/jackson-core-asl &ndash;&gt; <dependency> ...

Added by p0pb0b on Thu, 05 Dec 2019 09:57:36 +0200

Using spring security to deal with CSRF attacks

Status of CSRF vulnerabilities CSRF (Cross Site Request Forgery) cross site request forgery, also known as One Click Attack or Session Riding, usually abbreviated as CSRF or XSRF, is a malicious use of the website. Although it sounds like cross site scripting (XSS), it is very different from XSS. XSS utilizes trusted users within the site, whil ...

Added by nac20 on Thu, 05 Dec 2019 06:47:28 +0200

java B2B2C Springcloud multi tenant e-mall system - breaker aggregation monitoring

I. Introduction to Hystrix Turbine There is not much value in looking at the data of a single Hystrix Dashboard. To look at the data of this system's Hystrix Dashboard, you need to use Hystrix Turbine. Hystrix Turbine consolidates the data of each service's Hystrix Dashboard. The use of Hystrix Turbine is very simple. You only need to introduce ...

Added by aleph_x on Wed, 04 Dec 2019 00:44:03 +0200

dubbo source parsing remote call -- rmi protocol

Remote call rmi protocol Objective: to introduce the design and implementation of rmi protocol and the source code of Dubbo RPC rmi. Preface dubbo supports RMI protocol, which is mainly implemented based on the org.springframework.remoting.rmi package encapsulated by spring. Of course, the most primitive is the java.rmi. * package that relies o ...

Added by Riddick on Tue, 03 Dec 2019 17:55:55 +0200

How do I change Swagger's skin?

We talked about integrating Swagger 2 components in Spring Boot, so today we'll talk about how to change Swagger's skin? Environment building: Spring Boot relies on Swagger Spring Boot starter for rapid building. For specific Swagger Spring Boot starter, please refer to: https://github.com/SpringForA... . The build tool is Maven, the developme ...

Added by cybercookie72 on Tue, 03 Dec 2019 16:54:38 +0200