Java
-
BigDecimal division exception
When two BigDecimal numbers are used for division, the following exception message appears: solve: The generated excep…… -
Java get classpath — transfer
Classloader provides two methods to obtain resources from the loaded classpath: public URL getresource (string name); …… -
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 concurrenthashmap example and iterator — to
Original address: http://www.journaldev.com/122/java-concurrenthashmap-example-iterator#comment -27448 Today we will l…… -
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…… -
Concurrent programming — Concurrent data structure — reprint
Concurrent programming series articles: initial solution thread pool: detailed explanation thread pool: concurrent dat…… -
Dynamics of Java programming, Part 7: bytecode design with BCEL — reprint
In the last three articles in this series, I showed how to manipulate classes with the javassist framework. This time …… -
An NIO. 2 primer–reference
Part 1: The asynchronous channel APIs The More New I/O APIs for the Java ™ Platform (NIO.2) is one of the major new fu…… -
Usage of encodeuricomponent
Practice leads to true knowledge. When a pit is encountered in the project, it is summarized after filling: coding doe…… -
How to Check if an Array Contains a Value in Java Efficiently?— reference
How to check if an array (unsorted) contains a certain value? This is a very useful and frequently used operation in J…… -
Notes on Java collection — turn
Original address: http://calvin1978.blogcn.com/articles/collection.html In the shortest possible space, the characteri…… -
Simple beauty jodd HTTP — a basket of applications
Jodd HTTP is a miniature and simple HTTP client, but it is simple and convenient. Using it, you can easily send reques…… -
Glossary of Terms in the JavaTM platform –reference
http://docs.oracle.com/javase/tutorial/information/glossary.html field :A data member of a class. Unless specified oth…… -
Basic example of JMX technology — reprint
Original address: http://nick-lab.gs.washington.edu/java/jdk1.5b/guide/jmx/tutorial/connectors.html heading1">2.1 I…… -
Thread safety
Three types of thread safety: 1. Do not share variable state variables between threads. 2. Change the shared variable …… -
Analysis and extension of Java Dynamic Proxy Mechanism — turn
Introduction < P style =" margin top: 5px! important; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; pad…… -
Gradle local and remote warehouse configuration – transfer
https://blog.csdn.net/x_iya/article/details/75040806 Local warehouse configuration environment variable grade_ USER_ H…… -
Lambdas in Java 8–reference
Part 1 reference: http://jaxenter.com/lambdas-in-java-8-part-1-49700.html Get to kNow lambda expressions in Java 8. Fe…… -
Printwriter out of servlet = response Getwriter() uses
All along, I only know that out can input data (HTML, TXT, etc.) to the client browser page. Today, I found that my un…… -
Thread cooperation based on Java 2 runtime security model — turn
In versions prior to Java 2, the runtime security model used a very strictly restricted sandbox model( Sand@R_172_241…… -
Monitor and diagnose performance in Java se 6 — reprint
Java SE 6 provides an in-depth focus on performance,offering expanded tools for managing and monitoring applications a…… -
8 great Java features no one’s talking about — reprint
Original address: http://www.infoq.com/articles/Java-8-Quiet-Features If you haven’t seen some of the videos or tutori…… -
Debugging to Understand Finalizer–reference
This post is covering one of the Java built-in concepts called Finalizer. This concept is actually both well-hidden an…… -
Tomcat specifies the configuration file path method
1. In Catalina Set Java in Sh_ Opts, for example: JAVA_ OPTS='-server -Xms1024m -Xmx1024m -XX:NewSize=128m -XX:MaxPerm…… -
Five ways to maximize Java NIO and NIO. 2 — turn
Original address: http://www.javaworld.com/article/2078654/java-se/java-se-five-ways-to-maximize-java-nio-and-nio-2.ht…… -
Java EE 7 / JAX-RS 2.0: Simple REST API Authentication & Authorization with Custom HTTP Header–reference
REST has made a lot of conveniences when it comes to implementing web services with the already available HTTP protoco…… -
Servlet implementation of HTTP communication foundation
1. The client sends an HTTP message HTTP protocol is based on TCP / UDP protocol and encapsulates the details of socke…… -
Jackson ignores unnecessary fields when deserializing
Sometimes, if a field is added to the database table, but the returned JSON string contains a field we do not need, an…… -
JSTL SQL tag usage
1.setDataSource 2.query 3.update 4.transaction Tags are used to establish transaction context for tags and tags. Its s…… -
In depth analysis of Chinese coding in Java — conversion
< H2 id = "major1" > several common coding formats < H3 id = "minor1.1" > why code I wonder if you have ev……
