-
MongoDB find all documents where an array / list size is greater than N
Review following documents :
Date: 2019-08-17 View: 2085
-
Java and 0xFF example
Before you understand what is & 0xFF, make sure you know following stuffs :
Date: 2019-08-17 View: 1945
-
Java Convert IP address to Decimal Number
In this tutorial, we show you how to convert an IP address to its decimal equivalent in Java, and vice versa. For examples :
Date: 2019-08-17 View: 2028
-
TestNG Hello World Example
A classic example, show you how to get started with TestNG unit test framework.
Date: 2019-08-17 View: 2163
-
Java Custom Annotations Example
In this tutorial, we will show you how to create two custom annotations – @Test and @TestInfo, to simulate a simple unit test framework.
Date: 2019-08-17 View: 2019
-
TestNG + Selenium Load Testing Example
In this tutorial, we will show you how to use @Test attributes invocationCount and threadPoolSize to perform a load test or stress test on a website.
Date: 2019-08-17 View: 2188
-
Donate to Charity
If you like my works and tutorials on “mkyong.com”, please consider making a donation of $10 or whatever you can to protect and sustain the following charities :
Date: 2019-08-17 View: 2602
-
Java Write directly to memory
You have been told a lot that you can’t manage memory in Java. Well, it has changed since HotSpot release of the Java VM. There is a way to directly allocate and deallocate memory as well as write and read it… Of course we are talking about the JVM memory where the Java program runs. In this tutorial we are going to show you codes that deal with this topic.
Date: 2019-08-17 View: 1643
-
How To Get HTTP Request Header In Java
This example shows you how to get the HTTP request headers in Java. To get the HTTP request headers, you need this class HttpServletRequest :
Date: 2019-08-17 View: 2328
-
Java Check if web request is from Google crawler
If a web request is coming from Google crawler or Google bot, the requested “user agent” should look similar like this :
Date: 2019-08-17 View: 1973
-
The type DefaultHttpClient is deprecated
Eclipse IDE prompts warning on new DefaultHttpClient, mark this class as deprecated.
Date: 2019-08-17 View: 2285
-
Emma Class x appears to be instrumented already
Review the “maven-emma-plugin” in pom.xml :
Date: 2019-08-17 View: 2441
-
Maven site build is very slow dependency report
Creating a Maven site, but the build is very slow to generate the dependency report.
Date: 2019-08-17 View: 2400
-
Maven + Emma code coverage example
Emma is a free Java code coverage tool. In this tutorial, we will show you how to use Maven to generate the Emma code coverage report for your project, and also how to integrate the Emma report into the Maven project site.
Date: 2019-08-17 View: 2655
-
MongoDB Aggregate and Group example
In this tutorial, we will show you how to use MongoDB aggregate function to group documents (data).
Date: 2019-08-17 View: 1992


