Java
-
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 knowledge necessary for testing (3) — collection and map related
Set correlation Differences among list, set and map Differences among vector, ArrayList and LinkedList Vector: dynamic…… -
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…… -
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…… -
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) …… -
Java deployment environment setup (Linux)
Environment construction must be JDK, Tomcat and MySQL (basic) Additional packages may be used in the project JDK: it …… -
Integration of SSM framework ehcache
This article focuses on integrating ehcache with SSM framework. Someone may ask what ehcache is. About the introductio…… -
Page redirection of spring (18) and form processing of spring (17)
First of all, the Maven dependency of this example can reuse the form processing of spring (17) There is an important …… -
Swagger bootstrap UI of springfox swagger
Swagger bootstrap UI is an open source swagger project in China. It has been three years since it was launched. After …… -
Application of inheritance of Java features
Inheritance is for reuse. Reuse is to reduce redundant code and improve development efficiency. This time I talk about…… -
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…… -
Summary of website performance optimization and spring integration redis
Now more and more places need non relational databases. Recently, the website has been optimized. Of course, after the……