An interview question with an annual salary of 500000 looks not difficult, but 99 people are brushed out

Today I want to talk about the problem of circular dependency in spring. Recently, a large number of fans have asked this question, which is often asked in high salary interviews. On the issue of circular dependence, let's feel the serial gun and try whether you can pass the pass and deal with it easily. What is circular dependency? How to ...

Posted by erasam on Wed, 17 Nov 2021 00:14:40 -0800

Spring boot 2 -- data access

Automatic configuration of data sources To access the data source, we need to import the JDBC scenario first <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jdbc</artifactId> </dependency> We found that he did not auto ...

Posted by jkurrle on Tue, 16 Nov 2021 23:21:25 -0800

Android dial application source code analysis

Engineering dependency com.android.dialer is the main project and depends on com.android.contacts.common project and com.android.phone.common project com.android.contacts.common depends on com.android.phone.common project and com.android.common project In addition, some support packages are also introduced as link projects. The above codes ...

Posted by zszucs on Tue, 16 Nov 2021 22:54:57 -0800

JVM advanced custom class loader

1. Function Isolated load class In some frameworks, middleware is isolated from application modules, and classes are loaded into different environments. Modify how classes are loaded The loading model of class is not mandatory. It should be loaded dynamically at a certain point in time according to the actual situation. Extended load so ...

Posted by findapollo on Tue, 16 Nov 2021 20:43:48 -0800

JSP technology: JSP overview, JSP basic syntax, JSP implicit object, JSP instruction, JSP action element, making two pages through JSP

Chapter 6: JSP technology: JSP overview, JSP basic syntax, JSP implicit object, JSP instruction, JSP action element, making two pages through JSP 1.JSP overview: 1.1 what is jsp: its full English name is java server pages, java server page. It is a dynamic web page development technology based on servlet specification. Java Server Page: you ca ...

Posted by Sondar on Tue, 16 Nov 2021 19:06:43 -0800

25 Vue tips you need to know

Restrict prop to a list of types Using the validator option in the prop definition, you can limit prop to a specific set of values: export default { name: 'Image', props: { src: { type: String, }, style: { type: String, validator: s => ['square', 'rounded'].includes(s) } } }; Copy code The validator ...

Posted by Roble on Tue, 16 Nov 2021 17:18:26 -0800

2 - [high concurrency - service] - 1 Hystrix

1 background of hystrix With the improvement of business complexity and the continuous splitting of the system, a user-oriented API has layers of nested RPC calls, and the call chain may be very long. This will cause the following problems: Reduced API interface availability Citing an official example of Hystrix, suppose that an application ...

Posted by warmwind on Tue, 16 Nov 2021 17:13:16 -0800

SpringCloud Alibaba microservice practice 36 - several problems of Feign call

This article is a charging column. When the traffic becomes less, it will be moved to the charging column. Watch and cherish it! In the spring cloud architecture, the communication between microservices is based on Feign calls. In the actual use of Feign, we will probably face the following problems: Is Feign client on the consumer side or ...

Posted by GamingWarrior on Tue, 16 Nov 2021 16:43:27 -0800

2021-11 (java-springmvc Learning Notes 1)

1. Advantages of springmvc Light weight, easy to learnEfficientCompatible with springContract greater than configurationPowerful: restful, data validation, formatting, localization, themeSimple and flexible 2. springmvc Execution Principle The Dispatcher Servlet represents the front controller and is the control center for the entire springmv ...

Posted by adamb10 on Tue, 16 Nov 2021 09:15:12 -0800

Write a Java virtual machine in Java

Project link Welcome, star preface Refer to "write your own Java virtual machine" to write a JVM. This book uses Go to write a JVM without JIT, PGO, or even GC. It can be said that it is very useless. Then I rewrite the JVM in Java. The Java virtual machine written in Java can be said to be more useless. Regardless of Ecology (be ...

Posted by 303tech on Tue, 16 Nov 2021 08:38:24 -0800