Java
-
Exploring the principle of threadpoolexcutor analyzing the implementation principle of AQS through reentrantlock
an introduction to Thread pool (English: thread pool): a thread usage mode. Too many threads will bring scheduling ove…… -
Java thread Basics
preface What is a thread? Threads, Sometimes called lightweight process (LWP), it is the smallest unit of program exec…… -
【SpringCloud】08. Client load balancer: Ribbon
Client load balancer: Ribbon Ribbon's core for soft load balancing: Ribbon main components: technological process: 1. …… -
Detailed analysis of HashMap source code (JDK1.8)
3. Variable definition The above defines some variables that will be used. It's good to be familiar with them. 3.1 tra…… -
【SpringCloud】01. Differences between common software architectures
Differences among MVC, RPC, SOA and microservice architecture: 1、 MVC architecture MVC architecture is a single archi…… -
【SpringCloud】04. Creation of springcloud Eureka server and client
!!! [scode type = "yellow"] version: SpringBoot 2.0. 0.M3 SpringCloud Finchley. M2 JDK 8 [/scode] !!! SpringCloud Eure…… -
Analyze the implementation principle of AQS through reentrantlock
For Java developers, they will encounter multi-threaded access to public resources. At this time, they often lock to e…… -
Operation of and, or, XOR
The two data involved in the operation are "XOR" according to binary bits. Operation rules: 0 & 0 = 0; 0&1=1; …… -
Java knowledge necessary for testing (2) — advanced things of Java
Java advanced Class loading process Load (create class object) - > connect (verify - prepare - parse) - > class …… -
【SpringCloud】07. Communication between applications
Inter application communication HTTP vs RPC 1. Two restful invocation methods between services in spring cloud Method …… -
【SpringCloud】06. Eureka summary
1. Two notes: 1. @ enableeurekaserver - add on startup class It provides the function of service registration. After e…… -
Java notes: common classes
For the use of built-in classes and methods in Java, we can usually read the corresponding API documents, but we still…… -
Java notes: Collections
A collection is a kind of container object, which is used to store objects, or stored references to objects. It is not…… -
Java notes: arrays, exceptions, generics
1、 Array Array is also a reference type. Its parent class is object. It is declared with "data type []". For example,…… -
Java notes: IO streams
1. IO flow understanding I in the IO stream is the abbreviation of the word input, It means input or read. O is the ab…… -
Java notes: reflection, annotation
1、 Reflection 1. Reflection mechanism The related classes of reflection mechanism except a Java Lang. class, the rest…… -
Java notes: Java object oriented
1、 Method 1. Overview Methods can also be called functions. In other languages, the concepts and syntax of methods an…… -
Cross domain problem solving of spring cloudgateway gateway
Application scenario: all microservices pass through the gateway. When interfacing with the front end, cross domain is…… -
Httputil of hutool tool class uses HTTPS
For how to use httputil of hutool tool class, please refer to the official document httputil of hutool In fact, HTTP a…… -
Solving the problem of Tomcat running timeout
I've been too lazy to record before, but I think it's better to record recently. Because the project is too large, the…… -
Java obtains virtual machine memory, operating system memory and their threads
Why get virtual machine memory and operating system memory? Virtual machine memory, which mainly refers to JVM. In ord…… -
MVC framework of spring (XVI)
MVC framework tutorial Spring web MVC framework provides a model view control architecture and components that can be …… -
JS to clear cookies
Recently, the new system development uses cookies to store user information and uses DES encryption Tools are as follo…… -
Spring configuring cross domain requests
This article focuses on the Spring + spring MVC + mybatis / mybatis plus framework environment, including springboot. …… -
Feign of spring cloud
Take my personal blog system as an example to request other microservice APIs. 1、 Add Maven dependency 2、 Add @ enab…… -
org. springframework. context. ApplicationContextException: Unable to start web server; nested exceptio
Detailed error information: General solution: refer to the following link: org springframework. context. ApplicationCo…… -
Considerations for using split in Java
Java uses split application scenarios, usually for string segmentation. For example, the front end has such a paramete…… -
Spring AOP’s log management java web interface online configuration code generator
The imported dependencies are all Java Web interface online configuration code generator. You only need to import the …… -
SQL stored procedure of spring (13)
The simplejdbccall class can be used to call a stored procedure containing in and out parameters. You can use this met…… -
com. sun. org. apache. regexp. Internal does not exist
Error reason: an error is reported when importing idea from TX LCN (version 5.0.2). Solution: remove this line of guid…… -
JSON array parsing in Java
Recently, I got through the related APIs of blog Park and other third-party APIs. Because the system I developed needs…… -
Tomcat server downtime solution
Error message: java. lang.Object. wait(Native Method) java. lang.ref. ReferenceQueue. remove(ReferenceQueue.java:143) ……
