[SpringBoot] static resource rule configuration

My springboot version is <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.1.5.RELEASE</version> </parent> I XML configuration mode 1.1. /** And / * difference ? Match any single chara ...

Posted by bkbragg on Wed, 04 May 2022 02:54:05 +0300

SpringBoot Controller interface receives data (suitable for Mengxin)

Previously, we discussed how to interpret the love letters sent to us by different little sisters. Of course, those little sisters are easy to understand. As the saying goes, a woman has a needle in her heart. So, brothers! We should continue to work hard on how to tease our little sister. Today's little sister is different from the one in fron ...

Posted by brij_theinvader on Wed, 04 May 2022 02:31:48 +0300

Spring cloud part of the source code: Eureka Client registration

1: use SpringCloud Framework procedures, in addition to Eureka Other services are Eureka Client. By default, the Eureka Register your own service instance and Eureka The server obtains registration information periodically. Introduce in application spring-cloud-starter-eureka Dependent packages can be imported Eureka Clinet:spring-cloud-netflix ...

Posted by Cronje on Wed, 04 May 2022 01:39:08 +0300

Are @Schedule scheduled tasks executed in parallel?

@Schedule is a common timed task annotation. It is generally used in business logic that needs to be executed regularly. It is mostly used for single-machine tasks. If it is used in distributed tasks, it is necessary to ensure data consistency through distributed locks. If there are multiple scheduled tasks defined by the @Schedule annotatio ...

Posted by ssailer on Tue, 03 May 2022 20:21:48 +0300

Common configuration of Maven's setting.xml and pom.xml

What is Maven: The official definition of Maven is: Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project’s build, reporting and documentation from a central piece of information. Translation: Apache Maven is a software project management and ...

Posted by ChibiGuy on Tue, 03 May 2022 20:15:50 +0300

Can JAVA configuration and annotation configuration in spring completely replace XML configuration?

preface Spring boot is a new framework provided by pivot team. It is designed to simplify the initial construction and development process of new spring applications. The framework uses a specific way to configure, so that developers no longer need to define a templated configuration. Spring boot adopts the method of agreed configuration, whic ...

Posted by hothientuan on Tue, 03 May 2022 12:38:34 +0300

Springboot mini - Solon details - use, customization and extension of Solon's verification framework

Springboot min -Solon explain series: Springboot mini - Solon details (I) - quick start Springboot mini - Solon details (II) - the core of Solon Springboot mini - Solon details (III) - Solon's web Development Springboot mini - Solon details (IV) - Solon's transaction propagation mechanism Springboot mini - Solon explanation (V) - Solon Plugin o ...

Posted by DepretioN on Tue, 03 May 2022 08:42:04 +0300

Spring Cloud overview and writing service provision and service consumption

1spring cloud getting started overview 1.1 what is spring cloud SpringCloud, based on SpringBoot, provides a set of microservice solutions, including service registration and discovery, configuration center, full link monitoring, service gateway, load balancing, fuse and other components. In addition to the highly abstract encapsulation of o ...

Posted by dasmon777 on Tue, 03 May 2022 08:04:33 +0300

[Java advanced camp] Java concurrency -- CountDownLatch + CyclicBarrier

// There are unreconciled orders while (existUnreconciledOrders()) { // Query unreconciled orders pOrder = getPOrder(); // Query dispatch order dOrder = getDOrder(); // Perform reconciliation Order diff = check(pOrder, dOrder); // Write difference to difference Library save(diff); } Performance bottleneck [ ...

Posted by genesysmedia on Tue, 03 May 2022 06:57:07 +0300

I didn't expect that Springboot can format the global date like this. It's a little fragrant!

Say in front Recently, several colleagues in the Department have been wronged and left one after another. After three years of working together, they were reluctant to part with each other. After all the formalities were properly handled, they were sent out of the company after greeting. Several elder brothers smiled at me when they left. I imm ...

Posted by oops73 on Mon, 02 May 2022 04:57:44 +0300