Java
-
Solve Java sql. Sqlexception: parameter number x is not an out parameter — turn
Recently, I wrote a project alone. I can't afford to hurt the program ape fighting alone! When Java calls MySQL stored…… -
Example of reading configuration file for current project
Example of current project directory read configuration: -
ReflectionToStringBuilder
1. Use background The background interface needs to record the parameters of the following query (modification) object…… -
Eclipse Key Shortcuts for Greater Developers Productivity–reference
Posted by Ajitesh Kumar / In Java / June 6,2014 -
Load resources from classpath in Java–reference
In general classpath is the path where JVM can find . class files and resources of your application and in this tutori…… -
10 Questions To Make Programming Interviews Less Expensive–reference
Conducting "Strong knowledge of Java","Exceptional in SQL" and "Programming gurus" fail to answer these simple questio…… -
Top 10 questions about Java Collections–reference
reference from: http://www.programcreek.com/2013/09/top-10-questions-for-java-collections/ The following are the most …… -
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…… -
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…… -
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…… -
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…… -
Dynamics of Java programming, Part 3: application reflection — reprint
In, I introduced the java reflection API and briefly described some of its basic functions. I also carefully studied t…… -
Java exception handling best practices — reprint
Original address: http://howtodoinjava.com/2013/04/04/java-exception-handling-best-practices/ This post is another add…… -
Jar package dependency query
When you encounter jar package conflicts in the project, you need to understand the dependency of jars before excludin…… -
Anti if: the missing patterns — turn
@H_ 3010 @ original address: http://code.joejag.com/2016/anti-if-the-missing-patterns.html But then it gets you thinki…… -
Java theory and practice: blocking memory leaks with weak references — reprint
To make objects that are no longer used by the garbage collection (GC) collector, the logical life cycle of the object…… -
Dynamics of Java programming, Part 8: replacing reflection with code generation — reprint
Now that you have seen how to use javassist and BCEL framework for classworking (see), I'll show an actual classworkin…… -
Garbage collection optimization for high throughput and low latency Java applications — reprint
Original address: https://engineering.linkedin.com/garbage-collection/garbage-collection-optimization-high-throughput-…… -
Top 10 Questions about Java Exceptions–reference
reference from: http://www.programcreek.com/2013/10/top-10-questions-about-java-exceptions/ This article summarizes t…… -
java code to byte code–partone–reference
Understanding how Java code is compiled into byte code and executed on a Java Virtual Machine (JVM) is critical beca…… -
Deep parsing of Java Memory Model: final — to
Original address: http://www.codeceo.com/article/java-memory-6.html Compared with the locks and described earlier, rea…… -
< > Chapter 7: cancellation and closure
Java does not provide any mechanism to safely terminate threads, although thread Methods such as stop and suspend prov…… -
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…… -
Notes on Java collection — turn
Original address: http://calvin1978.blogcn.com/articles/collection.html In the shortest possible space, the characteri…… -
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…… -
Node RSA encryption, Java decryption and debugging
The encryption and decryption with node RSA JS is normal, and the encryption and decryption with Java rsautils tool cl…… -
Java files run under windows without JDK installed.
1. Firstly, the project should be GUI, using swing or AWT. 2. Use eclipse to package jar files. Right click the projec…… -
JDK dynamic agent realizes simple AOP — conversion
JDK dynamic proxy is an important feature of java reflection. In some way, it provides dynamic characteristics for Jav…… -
Java decompress multi directory zip files (solve the problem of Chinese garbled code) — reprint
Original address: http://zhangyongbo.iteye.com/blog/1749439 The method of specifying directory re is as follows: -
Java NiO — source code analysis of selector mechanism — conversion
I haven't understood how pipe wakes up the selector, so I went to see the source code of JDK (openjdk download), and s…… -
JSTL core tag usage
There are 13 Tags in JSTL core tag library, which are functionally divided into 4 categories: 1. Expression control la…… -
Deep parsing of Java Memory Model: basic part — conversion
Original address: http://www.codeceo.com/article/java-memory-1.html Classification of concurrent programming models In……