Recent Posts
-
Java – eclipse Juno: unassigned closable value
I wonder why I got the warning of this new eclipse Juno, although I think I closed everything correctly Can you tell m…… -
Java – JPS does not display Tomcat processes
I run Tomcat 6.0 on Ubuntu 10.10 31, and use tge sun JDK (java-6-sun) Although Tomcat is running, when I run JPS (Java…… -
Java – how to create MVC based applications without using frameworks
Struts, spring and several other frameworks implement MVC architecture to separate the representation of information f…… -
Perform: creates a local backup of the current pending list
In perforce, I have a list of files to change Now I want to go back to the base, but I haven't loosened my changes, so…… -
Illegalcomponentstateexception in Java Swing
When making the basic Java Swing program, I made a strange mistake. I only made it on my computer (I tried the other t…… -
Java – pdfbox: attempt to decrypt pdf
The following this answer I tried to use pdf@R_300_2419 @Decrypt PDF document: PDDocument pd = PDDocument.load(path); …… -
Java – how do I ignore certain types of uncapped exceptions in eclipse?
I use third - party libraries in my java applications This third - party library throws a custom uncapped exception wh…… -
[in java.lang.string; cannot be cast to java.lang.string
I'm getting vector from the product's API Vector<?> dataVector = dataAPI.getReturnVector(); The expected vector …… -
Java – convert local time to UTC time considering daylight saving time and vice versa
I know how to convert local time to UTC time and vice versa Anyone can answer the following questions: 1 When converti…… -
Two implementation methods of Java Dynamic agent are explained in detail
The dynamic proxy of Java is described in the API connecting to Java, which is not written here. I understand the agen…… -
Java – how to build eclipse plug-ins outside eclipse?
I have a series of eclipse projects, including many plug-ins and functions, which are checked into CVs I now need to r…… -
How to maintain Java webapps in different segmentation environments?
You may have a set of properties that are used on the developer machine, from developer to developer, another set for …… -
Java – no authenticationprovider found usernamepasswordauthenticationtoken
My web XML configuration is <filter> <filter-name>springSecurityFilterChain</filter-name> …… -
Why do lambda expressions in Java 8 need to use variables to use the “final” modifier instead of using method references?
Consider the following courses: class Foo<T> { void handle(T t) { System.out.println("handling " + …… -
Java – log forging enhanced repair
I'm using fortify SCA to find security issues in my application (as a college assignment) I encountered some "log forg…… -
. Net – multithreaded self managed WCF service
It seems that WCF uses only one thread when using self - hosting I want to use multiple threads or some kind of thread…… -
Java – record JSON requests and responses for JSON
I have a Java Web application that exposes restful APIs My requirement is to record all JSON requests and responses pr…… -
Java – which length is the string key of a HashMap that is considered a bad habit?
I always pay attention to good performance and clean code I tried to grasp whether it was reasonable to have a HashMap…… -
Java – Dao and services?
I always have a problem. I can't really think of a service object that encapsulates many Dao methods I mean, for my se…… -
Java 8 Application on EC2
I wonder if anyone knows if it is possible to install Java 8.0 on EC2 instances My application is packaged as a fat ca…… -
Java int… Array symbol
As I've seen in method parameters before, it seems that any number of parameters are allowed to fill the array created…… -
Linked list and bidirectional linked list in Java language
Linked list is an important data structure, which plays a very important role in program design. C language and C + + …… -
Java – advantages and disadvantages of data sorting in database?
Let's say I have a table with a varchar type table And I need to get the data in the table alphabetically from the fie…… -
Java – enter stream Read returns 0 or – 1?
What's the difference? byte[] buffer = new byte[1024]; // this: if (inputStream.read(buffer) > 0) { /*...*/ } // an…… -
Standard for programming “beautiful” code in Java?
I'm reading some books about coding standards in Java But there are some things that bother me For example, a method n…… -
A good source of news about Java trends
Some people can recommend several good websites / blogs / RSS / podcast. Those who are interested in Java can keep abr…… -
If the test case throws an exception, will teardown be called? (JUnit)
I understand that it is called after each test method, but someone can clearly tell me whether the test method is call…… -
Detailed explanation of spring boot and mybatis integration optimization
Springboot official documentation http://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/ -
Method of verifying sqlmapper configuration file of mybatis using XSD (2)
In the last article, I introduced the method of using XSD to verify the sqlmapper configuration file of mybatis (1). F…… -
The Java – c3p0 connection pool did not close the connection
I have one using c3p0 0.9 1.2,hibernate 3.2. 1. GA and spring 2.5 5. The problem is that the database connection is no…… -
Java – Jersey ‘nocontent’ response returns 200 instead of 204
I'm using Jersey (1.18) to build a rest API for my web application In part of my code, I have the following code snipp…… -
Java – libgdx: read from JSON file to ArrayList
I need help reading the JSON file to ArrayList I have JSON files: [ { "name": "Wall","symbol": "#",},{ ……