Original article:
Http://www.infoq.com/cn/news/2011/08/jprofiler7
J-Technologies Co., Ltd. released jprofiler 7.0 some time ago. Jprofiler is a Java SE/EE profiling tool that features CPU analysis, memory analysis, thread analysis, and Vm telemetry. New Features of version 7.0 include:
Analyze the built-in probes for JDBC, JMS, JNDI, Servlet, files, sockets, and processes.
You can use the API to customi
public static
8. Unmodifiable SeriesEnsure that the encapsulated collection cannot be changed.
public static
public static
public static
public static
public static
public static Extends v> m)
9. OtherThe Collections tool class features more than these, as well as methods such as fill (), rotate (), Max (), Min (), and so on. It is not possible to remember all of a sudden, use the time to check the AP
protects the key with a password.
Another tool, Jarsigner, produces or verifies the digital signature in a Java aRchive (JAR file) using the information in KeyStore.
The KeyStore has two different entrances:
1. Key entry: Stores very sensitive encrypted key information and is stored in a protected format to prevent unauthorized access. The key stored in this form is the secret key, or a private key to t
Original: Java object any deep clone clone tool class shareSource code: Http://www.zuidaima.com/share/1550463408114688.htmJava object any deep clone clone tool class sharePackage com.zuidaima.n_app.util; Import Java.lang.reflect.Constructor; Import Java.lang.reflect.Field; Import java.lang.reflect.InvocationTargetException; Import Java.lang.reflect.Modifier;
Configuring Environment variablesHttp://jingyan.baidu.com/article/cb5d61050b8ee7005d2fe04e.html
Configure MAVEN to IntelliJ1. Open Intellij, click the menu bar Run--editconfiguration pop-up run/debug configurations, Click on the left column + sign button and choose Add Maven, specifically2. After adding, check the right General's Maven home diretory,User setting file,Local repository whether the maven directory you specified is the configured MAVEN environment variable location,
= 1.62calls/s 15-minute rate = 1.61calls/s min = 35.47ms max = 878.76ms mean = 462.50ms StdDev = 284.91ms median = 419.90ms 75% Health ChecksA health check, such as a heartbeat:Package com.alibaba.cxf.test.metric; Import Java.util.map;import java.util.map.entry;import java.util.random;import java.util.concurrent.TimeUnit; Import Com.yammer.metrics.healthchecks;import Com.yammer.metrics.core.healthcheck;import Com.yam
First, what is scheduled task schedulingA task that is automatically performed based on a given point in time, a given time interval, or a given number of times.Second, the common use of Java Timer Task scheduling tool:
Timer
Quartz
2.1 Differences between the two:
The timer originates from Jdk,quartz and requires additional jar packages.
Timer function is few, easy to use, ca
Original: Java common regular Expression validation tool class Regexutils.javaSource code: Http://www.zuidaima.com/share/1550463379442688.htmJava Forms register a common regular expression validation tool class, a large collection of commonly used regular expressions.1. Phone number2. Postal code3. QQ4. E-Mail5. Mobile phone number6. URL7. Is the number8. Whether
function in the Keyextractor.java file. The first parameter of Keyextract_getkeywords is the text that needs to be extracted from the keyword, and the second argument is the number of keywords.public static void Main (string[] args) {String keywordsstr = CLibraryKeyExtractor.instance.KeyExtract_GetKeyWords (args [0], ten, true); System.out.println (KEYWORDSSTR); CLibraryKeyExtractor.instance.KeyExtract_Exit ();}In the current folder of the project, there is a data directory, is the word segment
). By default, automatically determines the best strategy-so you don't have to.Objenesis objenesis = new OBJENESISSTD (); or ObjenesisserializerOnce you has the objenesis implementation, you can then create an ObjectInstantiator , for a specific type.Objectinstantiator thingyinstantiator = objenesis.getinstantiatorof (Mythingy.class);Finally, you can use the instantiate new instances of this type.Mythingy thingy1 = (mythingy) thingyinstantiator.newinstance (); Mythingy thingy2 = (mythingy) thing
With AOP and Java instrument, Java has a lot of good performance monitoring tools that can help us analyze system bottlenecks effectively. For example, using JVISUALVM GUI to connect the JVM application can monitor the various states of the application, you can see the execution time of each function, but many times we do not have JVISUALVM GUI to help debug, this time I prefer to use Javasimon, The service
Java is cross-platform, Jd-gui provides support for multiple systems, but it is not recommended to install directly, the fastest way to directly download the jar package, and then run with Java-jar.The current version is 1.4.0, which stays in 2015 and is expected to be updated recently because Java 9 is out and the corresponding syntax sugar estimate may be modif
Reference: http://blog.csdn.net/u014472711/article/details/53713269http://lijingshou.iteye.com/blog/2005717OrJad-o-r-s java-d src classes/**/*.classsrc folders, which are all anti-compiled Java source files.The parameters of the Jad command have the following meanings:-O: Overwrite old files without prompting for confirmation.-R: Reloads the build package structure.-S (
We strongly recommend the btrace tool. Once used, we have to say that it is too powerful. btrace can simply be used without modifying the current program, the runtime monitors the execution status of Java programs, such as monitoring the memory status and method calls. There are many detailed examples on the official website, the following is a simple example to describe its function.For more information ab
If you want to study someone else's code, but you have only. class file, if you convert class to Java file, Jad can be implemented, about Jad download, many online, you can download it yourself.If you install Jad in the C:\jad directory,1. First copy the compiled generated Test.class file to this directory,2. Enter Jad in the Command Window environment and run jad-s Java test.class3.JAD
What is Gradle?Gradle is an automated build tool based on the Groovy language and mainly for Java applications and DSL syntax. Speaking of Java's automated build tools, everyone must be familiar with Ant and Maven. Gradle is such a similar tool, but it is much more powerful than Ant and Maven.
What can Gradle do?Gradle uses easy-to-understand DSL syntax to compi
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.