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

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

Spring cloud Zul integrates spring config and eureka to realize dynamic routing

1. Add dependent package <?xml version="1.0" encoding="UTF-8"?> <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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> ...

Added by nakins on Mon, 02 Dec 2019 00:11:38 +0200

Enterprise spring boot tutorial springboot integration docker

This article introduces how to build a docker image for the springboot program. Docker is an open source application container engine based on Go language and Apache 2.0 protocol. Docker allows developers to package their applications and dependencies into a lightweight, portable container, and then publish them to any popular L ...

Added by Jimmy_uk on Sat, 30 Nov 2019 12:59:13 +0200

Simple Mode Quick Start for RabbitMQ and Handling Timeout Exceptions

This article is for JAVA newcomers who want to know about RabbitMQ and who don't want to see the official website documents (headaches for English water viewers (), but suggest that you have the ability or the ability to see the official website documents). Message Queue MQ (1) MQ is all called Message Queue, and Message Queuing is the method o ...

Added by fabiuz on Sat, 23 Nov 2019 21:59:06 +0200

Using Zuul in SpringBoot

Zuul provides the function of service gateway, which can realize load balancing, reverse proxy, dynamic routing, request forwarding and other functions.Most of Zuul's functions are implemented through filters. In addition to the standard four filter types, it also supports custom filters. Using the @ EnableZuulProxy annotation, the Spring cont ...

Added by TobesC on Wed, 20 Nov 2019 14:41:00 +0200

28. Spring cloud integration gateway zuul entry 2

Public address: java paradise The previous article explained the path URL forwarding method of zuul gateway; this article explained the path serviceid forwarding method. Path serviceid needs to be used in the registration center eureka 1. Create a new project SC zuul consumer, which mainly provides one Controller and two interfa ...

Added by JasperBosch on Mon, 18 Nov 2019 16:57:51 +0200

Maven assembly plugin of < maven>maven plug-in

What It is a standard plug-in for packaging tasks in maven The main purpose of the Assembly plug-in is to allow users to assemble project output with its dependencies, modules, site documents, and other files into a distributable archive. Why Other plug-ins are not easy to use and each has its own short board. For example, you can't make a ...

Added by kenhess on Sat, 16 Nov 2019 21:56:47 +0200

Feign:REST Client for SpringCloud

In the Spring Cloud cluster, communication between roles is based on REST services. When invoking services, you need to use a REST client, which is commonly used. In addition to using the RestTemplate that Spring comes with, you can also use another REST client: Feign. When using Feign, you can decorate the interface with your own or third-par ...

Added by bigdaddysheikh on Sat, 16 Nov 2019 07:51:47 +0200

The use of general mapper combined with mybatis generator in springboot

Reading catalogue pom file generatorConfig.properties generatorConfig.xml IBaseMapper (let the generated mapper interface inherit this class)   General mapper refers to the package of tk.mybatis. This is a general mapper, which means that the auto generated dao layer needs to inherit the mapper class provided by this frame ...

Added by Javizy on Wed, 13 Nov 2019 20:12:29 +0200