Java
-
Java GUI quick start
There are two toolkits for writing GUI in Java, AWT and swing. Swing is an extension of AWT. Swing has more components…… -
Design pattern – singleton pattern
Design pattern It is a summary of the experience of classification, cataloging and code design that is repeatedly used…… -
Window – install Java
JDK Download Official website: https://www.oracle.com/java/technologies/javase-jdk8-downloads.html Baidu online disk: …… -
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…… -
【SpringCloud】03. Design principles of microservices
Design principles of microservices: 1、 AKF split principle The industry has a simple concept for scalable system arch…… -
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…… -
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,…… -
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…… -
JDK built-in monitoring tool
This article is mainly about the popularization of tools. It tells you that there are two tools that can help us tune …… -
Introduction to mybatis principle and test ox knife
In my opinion, the principle of mybatis is consistent with that of hibernate in some aspects. First, review the princi…… -
Restful example of SSM framework
Demo environment: Maven + Spring + spring MVC + mybatis plus or mybatis + jdk8 I think there should be no problem with…… -
Lombok problem
Today, I studied Dubbo as a distributed open source project Dubbo app. In order to eliminate the conflict and interfer…… -
Druid monitoring configuration
Druid has many new features compared with the traditional c3p0, DBCP and dbcp2 You can online monitor the database and…… -
Remember an eclipse question about JDK and JRE and talk about javac
Today, my colleague encountered a problem and found that the import package actually reported an error, but the packag…… -
Portal project startup problem
Error message: Solution: replace application QA Properties file and apply Specify QA as the profile above properties a…… -
Crud practice of Hibernate
As a highly encapsulated persistence layer framework, hibernate used to be very powerful. Now, although it is not wide…… -
Whitelist of microservice internal communication
There are many ways to communicate with microservices. Some use sockets, some use HTTP client tool classes, and some h…… -
Custom events for spring (10)
The simple process of writing custom events is as follows: (1) Write customevent java (2) Write customeventpublisher j…… -
Singleton mode and JDBC
Singleton pattern is a common software design pattern. Its core structure contains only a special class called singlet…… -
Comparative analysis of mybatis + hibernate + jdbc
At present, mybatis is used most as a persistence layer because it meets the variability of Internet development. Ther…… -
Easypoi import Excel
Easypoi's excel export function is as simple as its import function. As I stressed before, the essence of easypoi is P…… -
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……