Java
-
Analysis of reentrantlock source code of Java Concurrent series
In Java 5 Before 0, the only mechanisms that can be used to coordinate access to shared objects are synchronized and v…… -
Java annotation parsing
summary Java introduced annotation in version 1.5, also known as Java annotation. Annotation is a kind of syntax metad…… -
Jsp + servlet + JavaBean complete example of data paging method
This paper describes the method of data paging with JSP + servlet + JavaBean as an example. Share with you for your re…… -
Spring boot requests exception handling and returns the corresponding HTML page
Through previous studies, I know that the middleware can preprocess HTTP requests and return corresponding pages (for …… -
Explain in detail the life cycle, scope and implementation of beans in spring
preface In ApplicationContext After configuring beans in XML, what are the declaration Cycle States of beans. What can…… -
Spring MVC uses @ initbinder tag to bind form data
In spring MVC, date, double and other types are defined in beans. Without any processing, date and double cannot be bo…… -
Deep understanding of spring boot property configuration files
preface I believe many people choose spring boot mainly because it can not only take into account the powerful functio…… -
Java object-oriented programming polymorphism example
This paper describes the polymorphism of java object-oriented programming. Share with you for your reference, as follo…… -
Example of mutual conversion function between timestamp and Date object implemented in Java
This paper describes the function of mutual conversion between timestamp and date objects implemented in Java. Share w…… -
Detailed explanation of wechat JS SDK + java to realize the functions of “sharing to the circle of friends” and “sending to friends”
The main steps are as follows: 1. Bind domain name First login WeChat public platform into the "official account setti…… -
In depth understanding of bean life cycle in spring
1. Take the ApplicationContext context singleton pattern assembly bean as an example to deeply explore the bean life c…… -
Using spring’s annotation method to implement AOP instances
Spring provides good support for the implementation of AOP. Let's use spring annotations to complete AOP as an example…… -
Mybatis uses JDBC The solution of setting the properties file does not work
It works when it's written like this: It doesn't work: resolvent: 1. In JDBC Right click properties to change iso-8859…… -
Sample code of Java SSM framework to realize paging function (Oracle)
The paging function of Java Web is shared with you as follows: Using framework: SSM Database: Oracle In other words, t…… -
Method of deploying spring boot Maven application using docker
This article introduces the deployment of spring boot Maven application using docker and shares it with you as follows…… -
Countdownlatch source code analysis of Java Concurrent series
Countdownlatch is a very useful tool class. Using it, we can intercept one or more threads and make them execute after…… -
Java uses file input and output stream to copy all files in a folder to another folder
1、 Basic objectives Use java to complete the following operations: Copy all files in one folder to another folder. Fo…… -
How to use Java annotation in Java Tutorial
1. General Annotations can be defined on methods and classes. An annotation is equivalent to a class, which is equival…… -
Abstractqueuedsynchronizer source code analysis of Java concurrency series (shared mode)
Through the analysis of the previous article, we know that there are three ways to obtain locks in exclusive mode: do …… -
Deep understanding of Java annotation types (@ annotation)
Java annotation is a new feature introduced in jdk5. Since most frameworks (such as spring) use annotations to simplif…… -
Spring boot image upload and display function example explanation
First, describe the problem. The spring boot uses the embedded tomcat, so it is not clear where the files are uploaded…… -
Explain the configuration and use of spring boot properties in detail
Spring boot allows you to use the same application code in different environments through external configuration. In s…… -
JSP page to get the parameters in the servlet request
In Java Web application, how to obtain the parameters in the servlet request and pass them to the jump JSP page? For e…… -
Session usage and scope of SSM project
In the past two days, I used Ajax to initiate asynchronous update requests on the front end. I found that Ajax would e…… -
29 key points to help you complete Java code optimization
Optimize the program through Java code specification, optimize memory usage and prevent memory leakage Resources avail…… -
Verification method of spring MVC annotation
Introduction and description The annotation verification of spring MVC can directly verify the simple data of view mod…… -
Analysis of cyclicbarrier source code of Java Concurrent series
In real life, we often encounter such a situation. We need to wait for all the people before starting an activity. For…… -
Java method for reading all folders and file paths under it
Java reads the paths of all folders and files under it. The details are as follows If in the F: \ AA folder, there are…… -
Spring boot implementation file upload instance (multi file upload)
File upload is mainly divided into the following steps: (1) Create a new Maven java project; (2) Add corresponding dep…… -
Mybatis calls methods of views and stored procedures
The current project takes mybatis as the O / R mapping framework, which is really easy to use and very convenient for …… -
AspectJ annotation configuration of spring AOP to realize log management
Recently, the project will do a logging function, which I use the annotation method of spring AOP to implement. Create…… -
Spring boot realizes the functions of image upload and download
This blog briefly introduces the problems encountered in uploading and downloading pictures under spring boot. First, ……
