Source Understanding FactoryBean and BeanFactory Differences in Spring

Catalog Preface: Text: What is BeanFactory? What is FactoryBean? Use of FactoryBean Underlying Source Code Interpretation of FactoryBean The difference between with and without an identifier Summary: Preface: Now it's also a good time for Gold, Silver and Silver to jump around. When asked about the Spring Framework during an intervie ...

Posted by thebopps on Mon, 14 Feb 2022 19:12:38 +0100

Reflection mechanism of Java Foundation

preface Recently, when learning AOP of Spring framework, I want to know about dynamic proxy first. Other blogs say that the idea of dynamic proxy is related to Java reflection mechanism. Based on the principle of finding other blogs to save time, I am more and more confused, because Java reflection mechanism is very important and urgent ...

Posted by Paavero on Mon, 14 Feb 2022 16:30:28 +0100

Java Web -- database connection pool

1. Java development process Load driver (only need to load once)Establish a database Connection (database Connection pool plays a role in this step)Execute sql StatementResultSet receive result set (query)Disconnect and free up resources Question: The database connection object is obtained through DriverManager. Every time you obtain it, ...

Posted by cmburns69 on Mon, 14 Feb 2022 14:39:01 +0100

From introduction to mastery of Java (Java data structure -- Map Collection)

Map interface description (double column set) JavaApi gives a partial overview of the Map interface An object that maps keys to values. A mapping cannot contain duplicate keys; Each key can be mapped to at most one value. The Map interface provides three collection views that allow you to view the contents of a Map in the form of key ...

Posted by tequila on Mon, 14 Feb 2022 14:03:42 +0100

It turns out that generics are so simple (day 18 of learning Java)

catalogue I Overview of generics II Define and use classes with generics III Define and use methods with generics IV Define and use interfaces with generics V Generic wildcard I Overview of generics When we learned about the collection, we all know that any Object can be stored in the collection. As long as the objects are stored in t ...

Posted by jakeklem on Mon, 14 Feb 2022 13:16:48 +0100

Source code analysis of Android arch components - Lifecycle

The implementation of Lifecycle is similar to ViewModel, which uses fragment to realize its functions. By adding a fragment to the activity, the fragment can receive various life cycle callbacks. The following source code uses version 2.2.0 Introduction to using method I'm not going to talk too much about the usage of lifecycle here. Un ...

Posted by marty_arl on Mon, 14 Feb 2022 13:09:01 +0100

Monkey / automatic traversal test to integrate screen recording requirements

1. Demand Recent development reaction: Monkey / Auto traverses the FC, ANR and other problems during the test. It is impossible to accurately locate the cause and recurrence path of the problem through the log. It is hoped that the recording screen can be added during the test to facilitate the location of the path and cause of the problem rec ...

Posted by neorunner on Mon, 14 Feb 2022 12:29:11 +0100

java zero foundation III -- 4 MySQL Foundation

Connect video MySQL installation configuration Installation and configuration of MySQL database mysql5.5 mysql5.6 mysql5.7(stable) mysql8 Later version Software download Mysql5.7 address: https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.19-winx64.zip Special note If installed Mysql Think again, or in the process of making a ...

Posted by MattAdamson on Mon, 14 Feb 2022 11:31:31 +0100

Build rocketmq4.0 under Linux 5.2 cluster and set startup and self startup

1, Environmental description CentOS7;RocketMQ4.5.2;The firewall is closed; Virtual machine address:192.168.0.40,192.168.0.41,192.168.0.42,192.168.0.75; Because other things have been built on the virtual machine before, the alias will be specified this time, which can be accessed directly through ip and port; 2, Software descripti ...

Posted by saedm on Mon, 14 Feb 2022 11:23:56 +0100

SpringBoot integrates Prometheus to realize application monitoring

1. Introduction to micrometer Micrometer provides a general API for performance data collection on the Java platform. Applications only need to use the general API of micrometer to collect performance indicators. Micrometer will be responsible for completing the adaptation with different monitoring systems. This makes it easy to switch the mon ...

Posted by SteveMellor on Mon, 14 Feb 2022 11:18:24 +0100