The way to learn SSM -- the third day of spring

1, pom.xml <packaging>jar</packaging> <dependencies> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-context</artifactId> <version>5.0.2.RELEASE</version> </dep ...

Posted on Sun, 02 Feb 2020 22:32:04 -0800 by Garrett

Spring Boot: Introduction

1. What is Spring Boot Spring Boot is a new framework provided by the Pivotal team and is designed to simplify the initial build and development of new Spring applications.The framework is configured in a specific way so that developers no longer need to define a template configuration.In my words, Spring Boot is not really a new framework. It ...

Posted on Sun, 02 Feb 2020 18:01:34 -0800 by vanlier

Dubbo API configuration mode

Preface My project AngBoot Spring security is used for permission management and authentication, but the original intention of the project is to serve as a development template structure. Therefore, in order to cope with micro services and more flexible use scenarios, I introduced Dubbo to provide rem ...

Posted on Sun, 02 Feb 2020 00:45:41 -0800 by zeezack

springboot Learning-Configuration of Spring Security

Security is undoubtedly very important in web application development. Choosing Spring Security to protect web applications is a very good choice.Spring Security is one of the security modules in the Spring project, and it is very convenient to seamlessly integrate with the Spring project.Especially ...

Posted on Sat, 01 Feb 2020 21:27:50 -0800 by saf

Day32 -- configure AOP based on XML

I. review We talked about using annotations to configure AOP. Today we talk about using XML to configure AOP The source code of this article has been uploaded to the "resources" of this blog. You can download it for free if you need 2, Knowledge reserve Use XML, so delete some annotations, ...

Posted on Sat, 01 Feb 2020 07:37:35 -0800 by designsubway

Spring Cloud explains Feign's core principles and performance optimization

1. introduction Feign is a lightweight framework for HTTP request calling, which can call HTTP request by java interface annotation instead of directly calling by encapsulating HTTP request message in Java. Feign templates the request by processing comments. When it is actually called, it passes in ...

Posted on Fri, 31 Jan 2020 23:51:30 -0800 by watson516

9. [kowtow to Spring] - IoC's parsing < bean > tag: start the parsing process

import tag parsing is finished. Let's take a look at the parsing process of the most complex and important tag bean tag in Spring. 1. processBeanDefinition In the method ා parseDefaultElement(...), if the label is bean, the ා processBeanDefinition(Element ele, BeanDefinitionParserDelegate delegate) ...

Posted on Fri, 31 Jan 2020 13:23:42 -0800 by snuggles79

Using Aspectj to implement AOP ------------ configuration through XML annotation

In the last article https://blog.csdn.net/wyf2017/article/details/81239476 We briefly introduced that AOP is implemented in classes through Aspectj. Next, we will introduce how to implement AOP in xml at the end of next week First, we delete all the annotations written in the class, as shown below package com.Demo6; public ...

Posted on Fri, 31 Jan 2020 08:07:51 -0800 by Brendan Nolan

Detailed explanation of SpringBoot startup principle

1, Let's talk about the starting principle of SpringBoot Open the startup class. After debugging, you can find that the startup of spingboot is divided into two parts: 1 create SpringApplication object 2 Run method public static ConfigurableApplicationContext run(Class<?>[] primarySources, String ...

Posted on Fri, 31 Jan 2020 03:44:55 -0800 by Ab

Spring MVC receives form data and data binding

There are three ways to receive form data.   1. Receive form data using simple types (bind simple data types) Form: <form action="${pageContext.request.contextPath}/userController/handler" method="post"> User name: < input name = "username" type = "text" / > < br / > Password: < input name = & ...

Posted on Fri, 31 Jan 2020 03:15:05 -0800 by powlow