Recent Posts
-
Eclispe uses external Tomcat to summarize
1. Configure Tomcat Servers-->new Configure the path of Tomcat 2. Add / remove application Note: when removing an a…… -
Java concurrenthashmap example and iterator — to
Original address: http://www.journaldev.com/122/java-concurrenthashmap-example-iterator#comment -27448 Today we will l…… -
In the browser address bar, press enter, F5, Ctrl + F5 to refresh the difference between web pages – turn
Among them, pressing enter in the address bar is divided into two cases. First, the requested URI has not expired in t…… -
Java get classpath — transfer
Classloader provides two methods to obtain resources from the loaded classpath: public URL getresource (string name); …… -
BigDecimal division exception
When two BigDecimal numbers are used for division, the following exception message appears: solve: The generated excep…… -
The difference between form data, x-www-form-urlencoded, raw and binary in postman — transfer
Original address: http://blog.csdn.net/ye1992/article/details/49998511 1、form-data: It is the multipart / form data i…… -
Detailed explanation of Java serializable and externalizable serialization and deserialization — to
1、 What is serialization? "Object serialization" has been a feature since Java 1.1. In short, it can convert an objec…… -
Event based NiO multithreaded server — reprint
JDK1. NiO of 4 effectively solves the problem of thread overhead existing in the original streaming io. The main purpo…… -
Java theory and practice: Thread pools and work queues–reference
Why thread pools? Many server applications,such as Web servers,database servers,file servers,or mail servers,are orie…… -
JDBC Transaction Management Example—reference
In this post,we want to talk about JDBC Transactions and how we can manage the operations in a database. The most popu…… -
Win7 command line port occupies query process number to kill process
1. Enter DOS command window 2. Check the process number of the program according to the port number Netstat - ano - fi…… -
Common pit of groovy and Java integration — turn
https://yq.aliyun.com/articles/2357 Groovy is not only a dynamic language based on JVM, but also an object-oriented la…… -
Compiling JSPS using the command line compiler – Official
Web Server provides the following ways of compiling JSP 2.1-compliant source files into servlets: You must disable dyn…… -
Using reflection to assign values to JavaBean instances
To simplify and unify, java bean instances need to be uniformly assigned values. The implementation code is as follows…… -
Dynamics of Java Programming Part 1: classes and class loading — reprint
Original address: http://www.ibm.com/developerworks/cn/java/j-dyn0429/ This article is the first in a new series that …… -
Java file reading and writing — reprint
read file http://www.baeldung.com/java-read-file 1. Overview In this tutorial we’ll explore different ways to read fro…… -
In depth analysis of the system architecture and mapping principle of ibatis framework — reprint
http://www.ibm.com/developerworks/cn/java/j-lo-ibatis-principle/ Ibatis maps Java objects into SQL statements through …… -
-
-
Understanding transient variables in Java and how they are practically used in HashMap—reference
What is the significance of the transient keyword in ? If you know the answer,good! you are a person who uses this a l…… -
What’s new in Java se 6: compiler API
< H2 id = "n10044" > Introduction to new API functions JDK 6 provides an API to call the compiler at run time. L…… -
JAAS authentication in Tomcat example–reference
In this tutorial you will learn how to configure JAAS authentication in Tomcat using the HTTP Basic authentication …… -
Read the properties file with Java — transfer to
Today, Google took a long time to read the properties file through Java and finally found it. Now I'd like to share it…… -
Handling of inconsistent compiled code when eclipse uses Tomcat for deployment
Operation steps: 1. Add and remove items first 2. Clean clears the directory of the project in Tomcat 3. project-->…… -
How to ignore escape characters in strings in Java — reprint
Original address: http://my.oschina.net/u/1010578/blog/366252 cause In the past few days, I need to debug the rest int…… -
< > Chapter 7: cancellation and closure
Java does not provide any mechanism to safely terminate threads, although thread Methods such as stop and suspend prov…… -
Core code analysis of java thread pool framework — to
Original address: http://www.codeceo.com/article/java-thread-pool-kernal.html In multithreaded programming, it is unre…… -
Mutex vs semaphore in java development
Let's take a look at what the stack overflow says first Original address: http://stackoverflow.com/questions/771347/wh…… -
Int, long are heavier, replace with equal==
First of all, there are many restrictions on = =. For example, if the value of integer type is in [- 128127], it is OK…… -
Difference between HashMap and identityhashmap
Original address: https://dzone.com/articles/difference-between-hashmap-and Most of the time I use HashMap whenever a …… -
Deep parsing of Java Memory Model: summary — turn
Original address: http://www.codeceo.com/article/java-memory-7.html Processor memory model Sequential consistent memor…… -
Another way to play serial number generation
Usually, we like to use time as a kind of serial number when generating serial number, but the length of time serial n……