springboot implements https access

Skip the steps to create a springboot project Open the command window and enter the following command C:\Users\Administrator>keytool -genkey -alias tomcat -storetype PKCS12 -keyalg RSA -keysize 2048 -keystore keystore.p12 -validity 3650 Enter as prompted After completion, there will be a keystore.p12 file in the C:UsersAdministrator direct ...

Posted on Tue, 12 Nov 2019 16:21:38 -0500 by sawade

Four solutions for bean injection in springboot mq listening interface

In the project, mq is used for the first time. When a message is received in the listener interface of consumer and the relevant business layer interface is called, it is found that it cannot be injected. Several ways are summarized to solve this problem with the help of online materials and colleagues, for your reference: Mod ...

Posted on Tue, 12 Nov 2019 13:03:06 -0500 by kubis

Introduction to SpringBoot 18, simple implementation of custom annotation

Project basic configuration reference article Getting started with SpringBoot 1. Create a new SpringBoot project with myEclipse , just create a new spring boot project with myEclipse, and upgrade the sample spring boot to version 2.2.1.   1. pom.xml adds aop support <!-- Introduce aop Section support --> <dependency> & ...

Posted on Tue, 12 Nov 2019 09:39:32 -0500 by genesysmedia

SpringBoot from getting started to giving up, Chapter 1

I. brief introduction Let's talk about what Spring is Spring is an open source framework. Spring is a lightweight java development framework that emerged in 2003. Rod Johnson wrote expert one on one J2EE development and design. Spring is created to solve the complexity of enterprise application development. Using spring, you can make simple J ...

Posted on Tue, 12 Nov 2019 01:58:05 -0500 by frog_jr

SpringBoot configures HTTPS and implements automatic HTTPS access to HTTPS

nginx is recommended for configuring https No further replies will be given to any questions raised in this article. Here's why I wrote this article, because I'm also a beginner in SpringBoot. I encountered some pits when configuring https. According to the way I configure it on the Internet, I found some classes are obsolete. Here's just a r ...

Posted on Sun, 10 Nov 2019 20:07:59 -0500 by depojones

java b2b2c social e-commerce spring cloud distributed microservice springboot enables declarative transaction

E-commerce social platform source code Please add Penguin: 103874626. springboot is very simple to start a transaction, only one annotation is needed @Transactional Just fine. Because in springboot, events have been enabled for jpa, jdbc and mybatis by default. When they are introduced, things will be enabled by default. Of course, if you need ...

Posted on Fri, 08 Nov 2019 16:23:00 -0500 by ed01

Sprinboot elegantly configures listening and records all startup events

While reading the Springboot startup source code, we found that the Springboot auto-startup listeners are configured through the uopeizhi file. This article uses the Springboot method to auto-load listeners. Project Dependency <parent> <groupId>org.springframework.boot</groupId> <artifactI ...

Posted on Thu, 07 Nov 2019 09:47:02 -0500 by ajfton

Spring boot -- visit static resources & WebJars & Icons & Welcome page

Catalog   Summary 1. Access WebJar resources 2. Access to static resources 3.favicon.ico Icon 4. Welcome page Summary When spring boot is used for web development, the bottom layer of boot actually uses spring mvc. When spring boot starter web dependency is added to the project, embedded tomcat and mvc dependency will be provided, and dependen ...

Posted on Thu, 07 Nov 2019 03:43:05 -0500 by andynightingale

How does SpringBoot start?

This article is about the spring boot startup process sorted out by looking at the spring boot source code. The overall direction is to start with simplicity, not to mention too many complex things. The details of internal implementation are not covered in this article because everyone's ideas and understanding are different. My personal unders ...

Posted on Tue, 05 Nov 2019 03:20:57 -0500 by flaab

ELK log system - spring boot project of ELK log system integration of upgraded cluster

[ The whole ELK log system has been set up. The next process is as follows: The logback log configuration in the springboot project is transmitted through tcp, and all the log data in the springboot project is transmitted to the logstash, and then the collected log data is transmitted to the elastic search cluster and finally displayed by kib ...

Posted on Sat, 02 Nov 2019 14:40:23 -0400 by nerya