Java
-
Method instance resolution for adding and setting JPanel in JFrame
Swing programs implement their windows with JFrame objects. The JFrame class is a subclass of the AWT frame class. It …… -
Analysis on the source code of context loading during spring startup
preface This article mainly introduces the relevant contents of context loading during spring startup, and shares them…… -
Spring factory method creates (instantiates) bean instance code
Clear objectives Briefly describe the problem to be solved in this article: how to transfer the bean creation process …… -
Java implementation deadlock example code
What is deadlock Let's take a look at an example in life: there is a bridge on a river with a narrow bridge deck, whic…… -
Blockchain java code implementation
summary Merkletree is widely used in bitcoin technology. This paper aims to implement a simple merkletree through code…… -
Detailed explanation of spring instantiation method and code
This article introduces several methods of spring instantiating beans through example code. Let's take a look at the s…… -
Analysis of Java programming guava ratelimiter instance
This paper mainly studies the related contents of Java programming guava ratelimiter, as follows. Token bucket algorit…… -
Java implements the method example of adding picture watermark, text watermark and mosaic to the picture
This paper describes the method of adding picture watermark, text watermark and mosaic to pictures in Java. Share with…… -
Spring boot and kotlin upload file example code
If we build a small web site and just choose the kotlin and spring boot technology stack, it is essential to upload fi…… -
Detailed explanation of spring5 webclient User Guide
Previously, I wrote an example of the use of resttemplate. Because spring 5 fully introduces reactive and also has the…… -
Analysis of multithreading concurrent processing instance in Java programming
This paper mainly demonstrates the multithreading concurrent processing scenario of Java programming through an exampl…… -
Java upload video example code
Page: Keywords when uploading files: enctype = "multipart / form data" backstage: controller Tool class Entity class s…… -
Perform specific operations when the spring boot container is loaded (recommended)
In some cases, we need to perform some operations after the spring boot container is started and loaded. At this time,…… -
Java uses elasticsearch to complete the function of querying people near millions of data
In the previous article, elasticsearch used repository and elasticsearchtemplate to build complex query conditions, an…… -
Java web crawler connection timeout resolution example code
This paper mainly studies the connection timeout of Java Web crawler, as follows. In the web crawler, we often encount…… -
Spring related configuration resolution instantiated in web container
This article mainly explores the configuration related to instantiating spring in the web container, and briefly intro…… -
Depth first traversal of Java graph to randomly generate maze
Recently, I often watch my classmates playing a maze game in the computer room. It's more interesting. I also write an…… -
The solution of cross domain problem of front end implemented by spring cloud
When we need to provide spring boot with external services in the form of restful interface, if the architecture is se…… -
On the scope and life cycle of bean in spring
This paper mainly explores the scope and life cycle of beans, as follows. Scope of bean Spring 3 defines five scopes f…… -
Java method for reading mimeType of picture
1、 Problem description During project development, we often encounter a kind of file upload problem, that is, what fo…… -
Explain spring cloud config in detail, integrate gitlab to build a distributed configuration center
In the previous blogs, we all put the configuration file in their respective services, but there is a disadvantage. On…… -
Example of Maven project building spring boot + spring MVC + JPA
This paper introduces the example of Maven project building spring boot + spring MVC + JPA, which is shared with you a…… -
Static resource processing in spring boot practice
In the first two chapters, we shared spring boot's support for restful, but restful interfaces usually only return dat…… -
Sample code for reading the property configuration file using the Spring Factory
This article will introduce two methods for spring to read the property configuration file. Let's take a look at the d…… -
Example of socket two-way communication function developed and implemented in Java
This paper describes the socket two-way communication function developed and implemented in Java. Share with you for y…… -
High availability of spring cloud config distributed configuration center
In the previous article, we realized the function of unified configuration file management, but we can find that we on…… -
Custom tags and analysis of spring source code decryption
preface In the previous section spring decryption - default tag parsing, we focused on how spring parses default tags.…… -
The method of making Java programs into jar packages and executing them on the CMD command line
preface As we all know, a Java application project can be packaged into a jar. Of course, you must specify a main clas…… -
Spring cloud Apollo local development environment building process
Open source configuration center - Apollo Apollo (Apollo) is a configuration management platform developed by Ctrip fr…… -
Panel function of selecting and dragging pictures implemented in Java [based on swing component]
This paper describes the panel function of selecting and dragging pictures in Java. Share with you for your reference,…… -
Implementation of user management system in Python
This example shares the specific code of Python User management system for your reference. The specific contents are a…… -
Simple implementation of java student management system
This example shares the specific code of java student management system for your reference. The specific contents are ……