Java
-
【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…… -
Easy to remember questions in java test (I)
The author is good at c# language and will take the exam in April. Learning Java is just for the exam. How to learn th…… -
Java knowledge necessary for testing (I) — Java Foundation
Java Foundation How does Java work? The developed java source code is compiled into a platform independent bytecode fi…… -
【SpringCloud】05. High availability of Eureka
1. Simple situation 2. In order to achieve high availability of Eureka, multiple Eureka can register with each other. …… -
Java virtual machine architecture
I. data type Similar to data types in the Java programming language, The data types that Java virtual machine can oper…… -
Design pattern – singleton pattern
Design pattern It is a summary of the experience of classification, cataloging and code design that is repeatedly used…… -
Some thoughts on code refactoring
Recently, the company engaged in zhongtaihua again. I was lucky to participate in the reconstruction of one of the pro…… -
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…… -
【SpringCloud】08. Client load balancer: Ribbon
Client load balancer: Ribbon Ribbon's core for soft load balancing: Ribbon main components: technological process: 1. …… -
【SpringCloud】01. Differences between common software architectures
Differences among MVC, RPC, SOA and microservice architecture: 1、 MVC architecture MVC architecture is a single archi…… -
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…… -
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,…… -
@Differences between requestparam and @ pathvariable and their application scenarios
@There is little difference between requestparam and @ pathvariable, mainly because the requested URL is different Whe…… -
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…… -
Feign of spring cloud
Take my personal blog system as an example to request other microservice APIs. 1、 Add Maven dependency 2、 Add @ enab…… -
Tomcat server downtime solution
Error message: java. lang.Object. wait(Native Method) java. lang.ref. ReferenceQueue. remove(ReferenceQueue.java:143) …… -
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…… -
Java generates PDF and operates on PDF content
Although there are many online tools that can export PDF or word or convert to PNG format, I think we still need to kn…… -
Spring Boot:The field file exceeds its maximum permitted size of 1048576 bytes
Error message: the field file exceeds its maximum allowed size of 1048576 bytes because Tomcat is embedded in springbo…… -
Nacos of springcloud Alibaba
1、 Run Nacos Nacos GitHub open source address: https://github.com/alibaba/nacos Nacos official documents: https://nac…… -
Handler message under Android
The implementation principle of handler message in Android is studied: When new handler(), get the data under the curr…… -
Could not get a resource from the pool
Key error information: could not get a resource from the pool The common reason is that redis on the remote server is …… -
Hystrix of spring cloud
In the microservice architecture, microservices are highly dependent on each other, and calls between them will inevit…… -
Java date implementation + Tianzhi core code
Reqdto is the transfer object, and getvalidnum is the specific time, which is of type int by default. The number of da…… -
How to use java to send e-mail when port 25 of alicloud server is disabled (solve the problem of disabling port 25)
Usually, we use java to send mail locally. There is usually no problem, but if we deploy to the server, we may encount…… -
Portal project startup problem
Error message: Solution: replace application QA Properties file and apply Specify QA as the profile above properties a…… -
Spring Boot:The field file exceeds its maximum permitted size of 1048576 bytes
Error message: the field file exceeds its maximum allowed size of 1048576 bytes because Tomcat is embedded in springbo……
