SSM Basics - getting started with Spring

Introduction to Spring framework Overview of Spring framework Spring is an open source design level framework, which solves the loose coupling problem between business logic layer and other layers. Therefore, it runs through the whole system application with the idea of interface oriented programming. Spring is a lightweight java develo ...

Added by usmc on Sun, 20 Feb 2022 21:14:58 +0200

Java mainstream framework - (14) spring elastic search

1. Introduction to rocketmq 1.1MQ introduction MQ (Message Queue) Message Queue is a queue used to save message data Queue: a type of data structure characterized by "first in first out" 1.2 what is a message Service requests between servers Original architecture: In the server A Function needs to be called B , C M ...

Added by musclehead on Sun, 20 Feb 2022 20:29:52 +0200

Getting started with spring boot and yaml configuration

Getting started with SpringBoot Create a SpringBoot project: file new project, click Spring Initializr on the left in the figure, and then just fill in the project name and other information. After creation, a startup class of SpringBoot project will be automatically produced: @SpringBootApplication public class SpringbootDemo01Application ...

Added by wacook on Sun, 20 Feb 2022 18:30:50 +0200

Manually build the starter component

As mentioned in previous posts, try to use starter related dependencies. Because these related dependencies will configure related classes according to the configuration file. For example, redis is integrated in Spring. In rapid development, Spring boot starter data redis dependency is recommended. It will configure redisTemplate and other rela ...

Added by undertow on Sun, 20 Feb 2022 18:18:20 +0200

The circular dependency of spring bean s is completely mastered

I Clarify the problems that need to be clarified The acyclic process of ordinary beans depends on the bean life cycleThe non cyclic dependency of aop proxy bean is the process of bean life cycleThe cycle of ordinary beans depends on the process of bean life cycleThe circulation of aop proxy bean depends on the process of bean life cycle It's ...

Added by broomstick on Sun, 20 Feb 2022 13:13:52 +0200

Common Spring annotations

1. What is annotation driven When annotation is started, the form of annotation is used to replace xml configuration, which completely eliminates the complicated spring configuration file from the project and simplifies writing 2. Disadvantages of annotation driven In order to achieve the purpose of annotation driven, the original simpl ...

Added by Homer30 on Sun, 20 Feb 2022 13:00:08 +0200

J2EE-022 SSM XML configuration SSM framework

Spring IOC,DI Spring MVC process control from front end to back end Mybatis ORM framework Understanding of xml framework structure Explanation of each XML process and function General structure of the overall XML framework web.xml Configure the dispatcher servlet to access the entry path and distribute the processConfigure char ...

Added by lordphate on Sun, 20 Feb 2022 12:34:52 +0200

Spring controls inversion and dependency injection

Controls the type of inversion Inversion of control (IOC) aims to provide a simpler mechanism to set the dependencies of components and manage them throughout the life cycle. Generally, control inversion can be divided into two subtypes: dependency injection (DI) and dependency lookup (DL). These subtypes can be further decomposed into the s ...

Added by figo2476 on Sun, 20 Feb 2022 02:19:55 +0200

[Spring Security] how to store user data into the database?

How does Spring Security store user data into the database? Up to now, we haven't connected to the database. In real projects, in most cases, we design our own permission database. However, Spring Security also provides us with a permission database designed by itself. Let's see what's going on first! Let's learn this simple one first, and the ...

Added by shocker-z on Sun, 20 Feb 2022 02:07:09 +0200

It may be a little long introduction to Spring MVC, but learning may be wealth and freedom!

preface As we all know, Java development is jokingly called spring development by the old oil subroutine apes, which shows the position of spring in Java development. If there is no spring framework, the code written by most people will be a shit. Spring MVC is a very important module among the seven modules of spring. MVC framework is a ful ...

Added by KingIsulgard on Sun, 20 Feb 2022 01:35:13 +0200