[interview summary] haven't you understood the Java collection? Don't learn programming if you don't understand this article

Characteristics of collection class: the type and size can be uncertain Usage scenario: the stored data should change frequently Common collection =================================================================== Collections are mainly divided into two categories: Collection and Map: Collection: It is the top-level parent class of a ...

Posted by r.smitherton on Wed, 29 Dec 2021 11:42:16 +0100

kafka actual combat and kafka authoritative guide, [Spring Boot 8]

</exclusion> </exclusions> </dependency> <!--HTTPClient--> <dependency> <groupId>com.squareup.okhttp3</groupId> <artifactId>okhttp</artifactId> <version>4.3.1</version> </dependency> <dependency> <groupId>com.squareup.okht ...

Posted by chads2k2 on Wed, 29 Dec 2021 11:34:10 +0100

Android hot repair principle analysis, Java teaching video, a full set of Baidu network disk

public class PathClassLoader extends BaseDexClassLoader { public PathClassLoader(String dexPath, ClassLoader parent) { super(dexPath, null, null, parent); } public PathClassLoader(String dexPath, String librarySearchPath, ClassLoader parent){ super(dexPath, null, librarySearchPath, parent); } } You can see that the only difference ...

Posted by howard-moore on Wed, 29 Dec 2021 06:11:52 +0100

Use the plug-in mechanism of Hystrix to comprehensively analyze the high-level core knowledge in Java

public class App { public static void main(String[] args) { ApplicationContext context = new FileSystemXmlApplicationContext( "C:/work/IOC Containers/springframework.applicationcontext/src/main/resources/bean-factory- config.xml"); HelloApplicationContext obj = (HelloApplicationContext) context.getBean("helloApplicationContext"); obj.getMsg ...

Posted by ThEMakeR on Tue, 28 Dec 2021 16:59:30 +0100

Interview questions for Java senior engineers to explain the scope and life cycle of beans in Spring

1. Single instance Bean declaration **By default, Spring only creates a unique instance for each bean declared in the IOC container, which can be shared across the IOC container: all subsequent getBean() calls and bean references will return this unique bean instance. This scope is called singleton, * * it is the default scope for all bean ...

Posted by AmandaF on Tue, 28 Dec 2021 08:24:48 +0100

jQuery basic knowledge summary (super detailed, Java knowledge system outline)

//Incoming JS object jQuery(object) //Incoming jQuery object jQuery(jQuery object) //Create a DOM element by passing in a string from the original HTML jQuery(html,[ownerDocument]) jQuery(html,[attributes]) //Pass in null parameter jQuery() //Bind a function that executes after the DOM document is loaded jQuery(callback) Therefore ...

Posted by kevdotbadger on Tue, 28 Dec 2021 06:37:22 +0100

[Spring5, it's enough for kafka to read this story

If objects implement both the InitializingBean and the common initialization methods provided, the order of execution? Answer: InitializingBean is executed first, then general initialization method is executed. The injection must occur before the initialization operation. What exactly is an initialization operation? Initialization of resourc ...

Posted by ejbrever on Tue, 28 Dec 2021 05:42:14 +0100

Spring Security Learning (XI) review the old and know the new

summary preface ================================================================ Through the previous ten blogs, we have summarized and completed various login methods, such as form login, SMS verification code login and social account login. However, when the front and back ends are separated, the token based authentication method will be ...

Posted by jwaqa1 on Tue, 28 Dec 2021 05:22:04 +0100

[detailed explanation of java knowledge points] 3 Alibaba Java advanced interview questions and answers in 2012

1. Distributed delivery objects, or network transmission, need to be serialized 2. I call the method of your jvm, and the result is returned to my jvm for processing 3. Serialization preserves the state of an object For example, after tomcat is closed, the session object will be serialized to sessions In the ser file, load these sessions int ...

Posted by suttercain on Mon, 27 Dec 2021 23:33:10 +0100

Advanced route for Java programmers, [Spring annotation driven development]

In fact, we have used the XxxAware interface before. For example, the Employee class we created earlier implements the ApplicationContextAware interface. The source code of the Employee class is as follows. package io.mykit.spring.plugins.register.bean; import org.springframework.beans.BeansException; import org.springframework.context.Applica ...

Posted by phpconnect on Mon, 27 Dec 2021 21:29:49 +0100