Spring xml tag attribute day02

4)IoC configuration (XML format) 4.1)bean Name: bean Type: Label Attribution: beans tag Function: define resources in spring. Resources defined by this tag will be controlled by spring Format: <beans> <bean /> </beans> Basic properties: <bean id="beanId" name="beanName1,beanName2" class="ClassName"></bean&gt ...

Posted by p-co on Tue, 22 Feb 2022 13:45:30 +0100

Spring -- permission restriction of Security framework

preface Last blog The Security framework imposes restrictions on requests In, login authentication is added for some requests. As long as the login is successful, you can access the restricted requests. However, this model is certainly not enough. For example: Taobao product page. Merchants can modify commodity prices, but custo ...

Posted by nosmasu on Tue, 22 Feb 2022 13:05:49 +0100

Java crazy handout reading and learning java IO stream File class learning and Practice

java handout reading and learning File class Near the beginning of school, facing the pressure of postgraduate entrance examination and learning, we can relearn the core knowledge in java io stream through java handout books to form our own system. On a deeper level, the time for later study is increasingly reduced and tense. Through reading a ...

Posted by slak on Tue, 22 Feb 2022 12:39:14 +0100

Java simple factory pattern

Java simple factory pattern Bibliography: Dahua design mode, Cheng Jie, Tsinghua University Press Code link https://github.com/JiaZhengJingXianSheng/Calculator_By_Java When we write programs, in order to be easy to modify, we usually use encapsulation, inheritance and polymorphism to reduce the coupling degree of the program. For example, w ...

Posted by adzie on Tue, 22 Feb 2022 12:18:21 +0100

Java learning notes - Methods

Java learning notes - Methods Day06 1, What is method A Java method is a collection of statements that together perform a function Method is an ordered combination of steps to solve a class of problemsMethod is contained in a class or objectMethods are created in the program and referenced elsewhere 2, Definition of method Method cont ...

Posted by Domhnall on Tue, 22 Feb 2022 11:03:32 +0100

Talk about RabbitMq dynamic monitoring

I haven't shared my learning experience for a long time. After reading the release records, the last article is from 2020-12-10. Today, I take time to sort out the next technology sharing I want to sort out very early. By the way, as an aside, because I haven't had time to sort it out, and the development partners don't understand Mq enough, I ...

Posted by Moesian on Tue, 22 Feb 2022 11:02:23 +0100

SpringCloud-2.0 (9. Load balancing - OpenFeign)

Last: 8 Load balancing - Ribbon Next: 10 Service degradation - Hystrix - causing problems Statement: original author: CSDN: Yuan_ four hundred and four 1 . summary 1.1 what is it GitHub : https://github.com/spring-cloud/spring-cloud-openfeign Feign is a declarative web service client, which makes it very easy to write a web service cl ...

Posted by SeaJones on Tue, 22 Feb 2022 10:58:31 +0100

Design mode - adapter mode

1, Adapter mode 1. Basic introduction Adapter Pattern converts the interface of a class into another interface representation expected by the client. The main purpose is compatibility, so that two classes that cannot work together due to interface mismatch can work together. Also called a WrapperThe adapter mode is a structural mode.Inclu ...

Posted by warriors2003 on Tue, 22 Feb 2022 08:29:55 +0100

Simulation of the whole process of adding data to android HashMap source code

The process of adding two pieces of data to hashmap is described earlier. When adding the first one, the data is empty, and the first judgment will be executed in putVal() method: if ((tab = table) == null || (n = tab.length) == 0) n = (tab = resize()).length; Will execute resize() to initialize the member variable table, whose ...

Posted by onedumbcoder on Tue, 22 Feb 2022 07:45:58 +0100

Daily learning - Java design pattern (Day8) -- singleton pattern

We must put forward such tasks for ourselves: first, learning, second, learning, and third, learning. There is never a shortcut to learning. You can reach the peak step by step. 1, Introduction to single example design mode The so-called class singleton design pattern is to take certain methods to ensure that there can only be one obj ...

Posted by chomedey on Tue, 22 Feb 2022 07:18:53 +0100