This post shows an example of a bad practice I saw in one of my Java projects seven years ago. It also has a naive
Kotlin – SOAP Web Service Client Example
This post shows how to consume a SOAP Web Service using a client application in Kotlin. Although we need Java, we code everything in Kotlin.
Very Slow XML Validation against XSDs with unique and key elements
This post shows that XML XSD validation with <xs:unique> is very slow, especially for a huge list of elements, e.g., 300,000 items. We are better off
Get First And Last Dates Of Current Quarter Using Joda Time
This post shows how to come up with the first and last dates of the current quarter using Joda time. Although we can do it
Truncate MySQL Tables Before DBUnit Loads Data
This post shows how to truncate a table in MySQL before DbUnit loads data via @DatabaseSetup. Truncating the tables in the @Before method does not
Java – Using Amazon Simple Queue Service (AWS SQS)
This post is about using Amazon Simple Queue Service (SQS) in Java with Eclipse and AWS Toolkit Plugin. It also demonstrates how to create queues, send messages to and receive messages from them.
Selection Sort Algorithm Implementation in Java
This article demonstrates how to implement Selection Sort algorithm in Java.
Using @Conditional with @Configuration in Spring
Using @Conditional with @Configuration in Spring allows us to group @Bean objects loaded on a specific condition without resorting to using @Profile and too many
Eclipse Mars and Project Lombok
For Eclipse Mars.2 Release (4.5.2), Lombok 1.16.16 works in generating those getters and setters. If you are new to using Project Lombok, chances are you’ve tried a wrong version of it for your Eclipse.
JAXB Pre And Post-processing with Unmarshaller Listener
This post shows how to perform JAXB pre and post-processing with Unmarshaller Listener. For instance, you may want to compare the contents of an object