Spring component registration - springboot actual e-commerce project mall4j
springboot e-commerce project mall4j( https://gitee.com/gz-yami/mall4j)java mall system source code1. bean registrationWe have a Person classpublic class Person {
private Integer age;
private String name;
public Integer getAge() {
return age;
}
public void setAge(Integer age) {
this.age = age;
}
...
Posted by UQKdk on Mon, 13 Dec 2021 05:26:39 +0100
Grain mall -- Certification Center -- advanced notes 8
Cereals Mall - Certification Center - Advanced Chapter 8 notes
1. Environmental construction
1.1 create a new module gulimall auth server
1.2 pom documents
If you don't choose to directly copy the pom file below, remember to exclude the mybatis plus of the gulimall common package
<?xml version="1.0" encoding="UTF-8"?>
<project ...
Posted by uramagget on Mon, 13 Dec 2021 02:38:29 +0100
20000 words, the handsome guy made it clear that SpringBoot integrates Activiti workflow engine
Lalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalalala!! Welcome to collect and share
The first step is to import the jar package
<dependency>
& ...
Posted by toro04 on Mon, 13 Dec 2021 01:29:53 +0100
Spring boot cache principle
Three notes
@Cacheable can be marked on a method or a class. When marked on a method, it means that the method supports caching. When marked on a class, it means that all methods of the class support caching. For a method that supports caching, spring will cache its return value after it is called to ensure that the next time the method is ...
Posted by anon on Sat, 11 Dec 2021 14:41:58 +0100
vue +SpringBoot + FreeMarker + FlyingSaucer can preview, print and download PDF Online
First of all, thank you
This link Blogger, selflessly dedicate his strength
Thank you for the selflessness and sincerity of the Internet
I completed my requirements with this article and downloaded my pdf resume, so I recorded a record here
The general functions of the project are as follows vue. Click the download button on the page to ...
Posted by jude0311 on Sat, 11 Dec 2021 13:50:23 +0100
The impact is so great that even customers who don't understand the code come to ask about the 0day vulnerability of Log4j2
When I woke up this morning, the well-known Java log component Apache Log4j2 exploded in the circle. It was found a 0 Day vulnerability that Log4J2 vulnerability Hackers can log Remote Code Execution. Because this log library is widely used and this vulnerability is very easy to use, the risk is also very serious, so people have to improve pr ...
Posted by tomkleijkers on Sat, 11 Dec 2021 08:26:34 +0100
Introduction, use and implementation principle of mybatis spring
maven dependency
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis-spring</artifactId>
<version>2.0.6</version>
</dependency>
use
SqlSessionFactoryBean can create sqlSessionFactory. dataSource is the bean of its own data source. The @ mapperscan annotation can help us regi ...
Posted by ahsan on Sat, 11 Dec 2021 02:20:11 +0100
springCloud starts from scratch
***
1. Understand springCloud
1.1. What is springCloud
Spring cloud is one of the projects under spring, Official website address: http://projects.spring.io/spring-cloud/
Spring is best at integration, taking the best framework in the world and integrating it into its own project.
Spring cloud is the same. It integrates some popular techno ...
Posted by shutat on Fri, 10 Dec 2021 17:26:11 +0100
Spring Boot task scheduling
Application scenario
Students with loans will receive reminder messages to repay the loans every month, and punch in reminder before going to work and class every day, etc. Similar to this regular repetition function, we can use task scheduling to realize it.
Task scheduling framework
Scheduling frameworkexplainTimerJDK's own class java util ...
Posted by ElArZ on Thu, 09 Dec 2021 17:47:57 +0100
How do I write a SpringBoot third-party dependency package?
Spring boot in this article is 2.3 Version 4
1. Spring boot features, understand the principle of automatic configuration
1.1. Dependency management
Dependency management for parent project:
<!-- Dependency management -->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-s ...
Posted by Sj0wKOoMel on Thu, 09 Dec 2021 14:05:50 +0100