Propagation mode in database transaction

Promotion "required: if there is no transaction at present, a new transaction will be created. If there is a transaction at present, the transaction will be added. This setting is the most commonly used setting. Promotion_supports: supports the current transaction. If there is a transaction, jo ...

Posted by hailam on Wed, 15 Jan 2020 13:26:19 +0100

Full analysis of Spring Boot email

1. Preface Welcome to read Spring Boot 2 series Although e-mail has been "annealed" in recent years, it still plays an important role in the development. In more formal occasions, we still send messages and receipts by email. Today, let's learn how to send email under Spring Boot. 2. dependence Java sends e-mail based on the jakarta. ...

Posted by Ruud Hermans on Wed, 15 Jan 2020 04:58:54 +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

Important interfaces in Spring

1. BeanFactoryPostProcessor interface Official website address: https://docs.spring.io/spring/docs/5.2.0.RELEASE/spring-framework-reference/core.html#beans-factory-extension-factory-postprocessors org.springframework.beans.factory.config.BeanFactoryPostProcessor. The semantics of this interface are s ...

Posted by ericburnard on Tue, 14 Jan 2020 12:32:26 +0100

JAVA course notes series: Data Solr search engine development based on SpringBoot

Development of Data Solr search engine based on SpringBoot About Apache Solr Solr is an open source search server based on Lucene Java, which is easy to add to Web applications. Solr provides layer search (i.e., statistics), hit and eye-catching display, and supports multiple output formats (including ...

Posted by del753 on Tue, 14 Jan 2020 06:12:30 +0100

[001] SpringBoot2 startup process analysis 1 (source version 2.0.5.RELEASE)

1. entry: @SpringBootApplication public class BusApplication { public static void main(String[] args) { SpringApplication.run(BusApplication.class, args); } } By calling public static ConfigurableApplicationContext run(Class<?> primarySource, String... args) Static method Ther ...

Posted by Chips on Tue, 14 Jan 2020 04:07:22 +0100

SSH integration: Spring 5.2.2 + struts 2.5.22 + Hibernate 5.8

SSH integration: Spring 5.2.2 + struts 2.5.22 + Hibernate 5.8 1, Environment construction Database: MySQL 8JDK: 13 jar package Spring Struts Hibernate Spring integrates Hibernate Struts integrates Spring -C3p0 Connect to database Using Hibernate above JDK8 requires importing 2, ...

Posted by landonmkelsey on Sun, 12 Jan 2020 15:46:14 +0100

Learning code: DI dependency injection of hand written Spring

I wrote the IOC implementation of spring before, but now I write the implementation of DI dependency injection Paste class diagram Because junit package will be used when DI is implemented for testing, import dependency in pom.xml <!--SpringDI--> <dependency> &lt ...

Posted by Kingskin on Sat, 11 Jan 2020 18:06:09 +0100

Ribbon load balancing of spring cloud and Feign consumer call service

Article directory 1. Microservice calls Ribbon brief introduction Preliminary application 2. Ribbon load balancing 3. Feign introduction and Application brief introduction application 1. Microservice calls Ribbon brief introduction We have learned about eureka service registration and disc ...

Posted by NoDoze on Sat, 11 Jan 2020 11:25:19 +0100

Overview of Java Collections

An overview of Java collections (above) Preface First of all, why do I write such a blog (I always like to write why).Because by the end of the year recently, I was preparing for an interview, so I was making a technical summary of all aspects.Java collections are a very important part of Java, and they have spent a lot of time learning before ...

Posted by Graxeon on Fri, 10 Jan 2020 02:40:18 +0100