Tutorial on using the SpringBoot series log framework

Based on the previous blog, An introduction to the log framework of the SpringBoot series and its principles After the blog, this blog can help you learn about Springboot by providing a more detailed description of the specific use of the blog framework as a usage manual @[toc] 1. SpringBoot Log Level 1) Introduction to Log Level Briefly introd ...

Added by busnut on Tue, 21 Apr 2020 20:02:24 +0300

Upfront - backstage - environment building

1, Create pom project Name: atcrowdfunding01-admin-parent GroupId: com.atguigu.crowd 2, Create module: atcrowdfinding02 admin webui atcrowdfunding02-admin-webui 3, Create module: atcrowdfinding03 admin component     4, Create module: atcrowdfunding 04 admin entity   5, Create module: atcrowdfinding05 commo ...

Added by bacil on Tue, 21 Apr 2020 17:15:44 +0300

Why are people reluctant to use Mybatis after JOOQ is used in the project?

Preface: (welfare at the end of the article) Today I'd like to introduce a new ORM framework - > jooq. Maybe many friends haven't heard of this framework Mybatis framework has been used as the persistent layer access framework in Java projects before. However, some recent projects have been developed with JOOQ framework, indicating that the ...

Added by andrewdunstall on Tue, 21 Apr 2020 09:59:26 +0300

Transaction control configuration based on xml file

Configure transaction manager <bean id="dataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource"> <property name="driverClassName" value="com.mysql.jdbc.Driver"></property> <property name="url" value="jdbc:mysql://localhost:3306/myword"></property> <property name="username" ...

Added by blt2589 on Tue, 21 Apr 2020 06:49:54 +0300

NettyConfiguration of spring cloud gateway

This paper mainly studies the NettyConfiguration of spring cloud gateway NettyConfiguration @Configuration @ConditionalOnProperty(name = "spring.cloud.gateway.enabled", matchIfMissing = true) @EnableConfigurationProperties @AutoConfigureBefore(HttpHandlerAutoConfiguration.class) @AutoConfigureAfter({GatewayLoadBalancerC ...

Added by BZorch on Mon, 20 Apr 2020 18:20:59 +0300

[spring Internationalization] Detailed internationalization of springMVC, springboot

In web development, we often encounter problems with international language processing, so how can we internationalize? What can you get? Use springgmvc and thymeleaf for internationalization. Use springgmvc and jsp for internationalization. Use springboot and thymeleaf for internationalization. Catalog What can ...

Added by PhaZZed on Mon, 20 Apr 2020 05:57:12 +0300

REST style request mode

REST: representative state transfer. (resources) state transformation of presentation layer. It is the most popular Internet software architecture. It has a clear structure, conforms to the standard, is easy to understand, and is easy to expand, so it is being adopted by more and more websites. Using the REST style of request mode can simplify ...

Added by davidx714 on Sat, 18 Apr 2020 17:09:10 +0300

Details of Javax Validation verification architecture

You're still using if else... Check the parameters from the front end? Are you still checking parameters with code? If so, your project verification is not perfect. Xiaobian here shares the parameter verification through annotation, farewell to if else... The era of!!! This article mainly introduces Javax ValidationI annotation verification ar ...

Added by GM on Sat, 18 Apr 2020 12:53:26 +0300

How to make enterprise search engine "elastic search" truly integrate java use?

How to use elastic search in combination with java? I don't need to talk much about it. Load it!!!   Integrating Spring Data ElasticSearch 1, How to view official documents Official documents: https://www.elastic.co/cn/elastic-stack (follow the steps below to choose another version) Skip 6.3.0 document directly: https://www.ela ...

Added by mohamdally on Tue, 14 Apr 2020 20:33:34 +0300

Using Kafka message queue in springboot project

1. Kafka message producer 1) Create the springboot Kafka producer demo project and import the jar package. <dependency> <groupId>org.springframework.kafka</groupId> <artifactId>spring-kafka</artifactId> <version>2.4.5.RELEASE</version> </dependency> 2) Add Kafka producer configuration it ...

Added by Patrick3002 on Tue, 14 Apr 2020 18:03:10 +0300