Recent Posts
-
MySQL + spring database isolation level and performance analysis
Here, take MySQL as an example to clarify the following issues: I If a general project does not configure transactions…… -
Java – iText – avoid the last line and don’t split the page to the next page
I'm using Java's iText 5 I have some pages with multiple tables with dynamic rows In some cases, the last row of the t…… -
Java implementation server file package zip and download example (package and download)
Using this method, you can immediately package files and transfer them while packaging without using any cache, so tha…… -
Java – selenium asynchronous script cannot be executed
Why do I get selenium 2.25 when I try to execute an asynchronous script Exception for 0 //navigate to my test page. S…… -
What is the use of lambda expressions, a new feature of Java 8 (usage examples)
We've been looking forward to lambda bringing the concept of closure to Java for a long time, but we lose a lot of val…… -
Example of converting Java integers (seconds) to minutes and seconds format
Integer (seconds) converted to minute second format (XX: XX: XX) -
Java imitation Windows calculator example
The interface of this calculator imitates the simple calculator provided by windows, including interactive interface a…… -
Java – spring upload file problem
I need to upload the file from the browser to the server I use spring 3.2 as my web framework So I configured my appli…… -
Java implementation of file reading, writing and compression
This paper describes the implementation method of file reading, writing and compression in Java through examples. The …… -
Java – does selenium webdriver support Safari?
I am using selenium webdriver with Java I want to use Safari browser Does selenium webdriver support Safari? Solution …… -
Java – how to use sonarlint in eclipse
I was assigned to use sonarqube code quality However, when I download its plug-in to eclipse, I understand that it has…… -
Collection of methods to prohibit Ajax caching in (ASP / PHP / JSP / HTML / JS)
Ajax caching has advantages, but it also has disadvantages. Caching can sometimes lead to misoperation and affect the …… -
Java – use the streams API to perform operations on N different elements in the collection
I'm trying to use the streams API in Java 8 to retrieve n unique random elements from the collection for further proce…… -
Java – using the Jackson module of scalaobjectmapper in spark 1.4 Error running job on 0
I'm running Scala 2.10 4, and runs in spark 1.4 0 cluster (based on HDFS and managed by yarn), and Jackson module 2.6.…… -
Detailed explanation of file operation of Java I / O Technology
In Java programming, I / O operation is through Java IO package, so the first step is to import this package. java. IO…… -
Using JSP to call JavaBean to implement super simple web page calculator example
Online standard calculator: http://tools.jb51.net/jisuanqi/jsq Online scientific calculator: http://tools.jb51.net/jis…… -
Java – what is enum useful?
See English answers > What are enums and why are they useful? twenty-two It is something between classes and variab…… -
-
Java simulates hibernate L1 cache example sharing
Pure java code simulates the principle of Hibernate L1 cache, which is simple and easy to understand. -
Java – start a jar file like a service in Linux
I want to start and stop my jar file as follows Service myservice start Service myservice stopped My current jar file …… -
Java – a simulation method that uses jmock to type parameters
Background: This is a jmock JUnit specific problem (these are the two technologies I have to use) Yes, what I want to …… -
Increase BigInteger performance of Java
How to improve the large integer performance of Java? For example, this factional program: import java.math.*; class F…… -
Generics of Java generics
I have a generic class that represents a piece of text The text fragment can have any of a variety of different modes …… -
Java operators >, > >, and > > >
>Indicates greater than, for example: if (a > b) The result is a boolean type >>Indicates a signed right s…… -
JSON to Java object example
There are many tools for converting JSON string to Java object. The following small example is just for me to practice -
Java – is there any reason why languages allow negative modulus?
I'm curious that these languages (Java, C...) ignore the mathematical definition of modular operation What does it mea…… -
Avoid repeated import in Java: inherit import?
Is there any way to "inherit" imports? Example: General enumeration: public enum Constant{ ONE,TWO,THREE } Base class …… -
-
Java – dropwizard: how to stop the service programmatically
To start the service, I know one that uses the new myservice () run(args). How to stop it? I need to start and stop th…… -
Introduction to template method of Java design pattern
The template method pattern of Java design pattern defines the framework of an algorithm in operation, and delays some…… -
Deploying Java Web applications online
I have built a Java Web Application on eclipse However, I am naive in making applications, that is, online deployment …… -
Tomcat7. 0 installation configuration details (picture and text)
Note: the Tomcat server is a web server that conforms to the J2EE standard. EJB programs cannot be run in Tomcat. If y……