Do you remember your first programming assignment in college? Most like it is one of those simple Mathematics like get the min and max values from a given list. How about from a list of objects?
Java – Compare XML files using XMLUnit
Here, we’ll be using XMLUnit from www.xmlunit.org in a Maven project.
Java – Validate CSV using SuperCSV with custom CsvColumnProcessor
[wp_ad_camp_1] Validating CSV is super easy with SuperCSV and it will save your day. Assume that we have a requirement from the management to validate new employee data coming from different parts of the United States with the following constraints.
Java – Run application without classpath using Extension Mechanism
In Java, it is possible to “extend” your currently installed JRE in a way that your classes are loaded automatically thereby removing the need to specify them in the classpath. This is done using Java’s Extension Mechanism. [wp_ad_camp_1] Below is
Java – How to pass argument string with spaces to Java
The way you run your application in Java is by invoking java followed by the class name (without the .class extension).
Java – Check for file or directory
The class java.io.File can be used to check for files or directory.
How to install Scala in Ubuntu 14.04 LTS
This post demonstrates how to install Scala in Ubuntu 14.04 LTS. JDK is required [wp_ad_camp_5] Before you can compile and run a Scala program, you need to have a JDK installed in your system. For instance, I am using OpenJDK
Group JUnit Test Cases using @Suite.SuiteClasses
Grouping Unit Tests [wp_ad_camp_5] At times there are certain set of unit tests we want to execute automatically. These tests may be critical or have been simply grouped for some reasons. To group JUnit test cases, we use @Suite.SuiteClasses annotation.
Host multiple databases in a HSQLDB server
On this post, we’ll host multiple databases in a single HsqlDB server running locally on a Windows machine. The following are additional details about the Software application used. [wp_ad_camp_5] 1. HSQLDB 2.3.3 2. Windows 7 64-bit 3. Java 8 (JRE
Parse CSV file using Apache Commons CSV
Why use CSV files? [wp_ad_camp_5] Sometimes we process data in bulk by reading them from files with specific format like CSV. This article demonstrates how to parse a CSV file using Apache Commons CSV. A CSV is a file format