If you want to be a good java Architect, here → Le byte free open class (Tencent class)
If you need to follow more information, please click on the right side (remember the password: 66) → This is a no return road, there is a risk of baldness, please choose carefully!
The core object of BOM is window, which represents an i ...
Posted by R_P on Fri, 26 Jun 2020 00:52:21 -0700
Auto configuration principle
Condition annotation principle
Spring boot is the packaging of spring. Through automatic configuration, spring boot can be used out of the box with very low starting cost. However, the cost of learning its implementation principle is grea ...
Posted by mvidberg on Thu, 25 Jun 2020 23:47:45 -0700
Spring boot + websocket for real-time chat
Recently, a little time, the last project just used websocket to realize broadcasting messages. Now, I want to sort out some previous codes and share them with you.
WebSocket protocol is a new network protocol based on TCP. It realizes full duplex communication between browser and server, which ...
Posted by mady on Thu, 25 Jun 2020 23:14:13 -0700
window operation on data
In the window operation of flow data, when event time passes the window time, it will close the window. Then in the actual production environment, due to various reasons such as the network, late data may appear, resulting in data disorder. As shown in the figure below, the ...
Posted by plex303 on Thu, 25 Jun 2020 22:46:08 -0700
Deep understanding of synchronized underlying source code
This article analyzes the implementation logic of synchronized from the JVM source code, so as to better understand the depth of synchronized.
Process: the basic unit of operating system resource allocation. Thread: the basic unit of ...
Posted by azaidi7 on Thu, 25 Jun 2020 21:55:14 -0700
Thread pool (focus)
Thread pool: three methods, seven parameters, four rejection strategies
Pooling technology: 01: The operation of the program, essence: occupy system resources!Optimize the use of resources!=>Pooling Technology 02: Thread pool, connection pool, memory pool, object pool //... created, destroyed.Very wasteful of resour ...
Posted by rami on Thu, 25 Jun 2020 17:45:01 -0700
UseJava.netThe URL class below implements that the URL is a reference to a uniform resource identifier, a URL instance represents a reference to a url, and then the openStream() method in the URL is used.
[java] view plain copy
public class U ...
Posted by THW on Thu, 25 Jun 2020 09:18:39 -0700
Previously read articles about RabbitMQ core messaging patterns are based on Java API s, and recently read the official documentation and found that these core messaging patterns can be implemented through Spring AMQP.This paper summarizes the practical techniques of RabbitMQ, including its installation on Windows and Linux, and the Spring A ...
Posted by shamuntoha on Thu, 25 Jun 2020 09:15:41 -0700
How to use Jdbc and Servlet to operate Mysql database and write Android login server?
1. Download and install Tomcat server
2. Open eclipse and choose Java EE mode
3. Configure Servers
1. Click on the blue word in the bottom configuration box
(2) Select the corresponding versions of Apache and Tomcat in the server type
Posted by itsgood on Thu, 25 Jun 2020 09:13:51 -0700
The pattern is separated from the language, and the singleton pattern in the design pattern is very important in the concurrency. We should not indulge in the language and architecture, but think about the problem from the design point of view. Technology is the easiest to be replaced. Only by formin ...
Posted by justinjkiss on Thu, 25 Jun 2020 04:15:57 -0700