For microservices, configuration localization is a big disadvantage. It is impossible to restart the service every time you need to change the configuration. Therefore, the final solution is to externalize the configuration and host it on one platform, so that multiple modifications can take effect at one time without restarting the se ...
SpringBoot is used as the main framework, and Shiro framework is used as the authentication and authorization module.
Before spring boot + Shiro + password encryption, I stepped on a lot of holes, so I walked through the Shiro process and made a record.
1. Introduce Shiro first
Everyone who has used Shiro knows that Shiro uses decorator m ...
Posted by Ryan0r on Mon, 22 Nov 2021 23:27:42 -0800
Resource download: https://download.csdn.net/download/weixin_44893902/45601185
Exercise point design: modify, delete
1, Language and environment
Implementation language: JAVA language.Environment requirements: MyEclipse/Eclipse + Tomcat + MySql.Use technology: Jsp+Servlet+JavaBean or spring MVC + Spring + mybatis.
2, Realize function ...
Posted by Zpixel on Mon, 22 Nov 2021 20:33:00 -0800
1.1 how spring simplifies development
Lightweight and minimally intrusive programming based on POJO, everything is bean;Loose coupling is realized through IOC, dependency injection (DI) and interface oriented;Declarative programming based on AOP and conventions;Reduce style codes through facets and templat ...
Posted by kelly3330 on Mon, 22 Nov 2021 15:49:53 -0800
Chapter 1 Introduction to HTTP protocol
[the external chain image transfer fails. The source station may have an anti-theft chain mechanism. It is recommended to save the image and upload it directly (img-grbtid56-1637415789041) (Shang Silicon Valley Zhang Chunsheng _httpprotocol. assets/timg.jpg)]
HTTP hypertext transfer ...
Posted by phpsharma on Mon, 22 Nov 2021 02:28:51 -0800
1, Background introduction
There are many split services in the distributed system. In the process of continuous iterative upgrading, the following common thorny situations will occur:
For the version upgrade of a technical component, depending on the package upgrade leads to the expiration of some syntax or API, or the component fixes urgent ...
Posted by everlifefree on Mon, 22 Nov 2021 00:07:12 -0800
Content type definition
MediaType, that is, Internet Media Type; It is also called MIME type. In the Http protocol message header, content type is used to represent the media type information in the specific request.
Common media formats are as follows:
text/html: HTML formattext/plain: plain text formattext/xml: XML formatimage/gif: gif p ...
Posted by dare87 on Sat, 20 Nov 2021 21:25:06 -0800
3. Send the Ioc of Spring
1, Preliminary knowledge: Reflection
1. Basic concept of reflection
During operation, the basic information of the class (class properties, class construction methods, and class general methods) is dynamically obtained
2. Use of reflection
(1) Three ways to get Class ...
Posted by -entropyman on Sat, 20 Nov 2021 09:33:46 -0800
Geek time: brother pony's learning notes
Main implementation strategies of IoC: the interviewer always asks the difference between IoC and DI. Does he really understand it?
Main implementation strategies of Ioc
Service positioning mode. Java EE components are usually obtained through JNDI technologyDependency injectionContext dependent ...
Posted by thedualmind on Sat, 20 Nov 2021 09:09:55 -0800