This post demonstrates how to create a simple SOAP-based Web Service with Kotlin.
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. Create a SOAP Web Service in Kotlin Before creating a SOAP Web Service 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 ensuring distinct values through Java codes. The problem also applies to <xs:key>. Worse, we can
Xerces C++: Validate Slow XML Validation Against XSD With Unique And Key Elements
We have encountered a performance issue with Java validating an XML with 300,00 elements against an XSD with <xs:unique> and <xs:key>. This post uses Xerces C++ to parse and validate a huge XML against an XSD with those elements. Also,
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 in Java 8 and above using the Time API, Joda Time is an alternative. Joda
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 work because DBUnit loads the data first via @DatabaseSetup before delegating calls to a @Before
Aggregate gathered number of units using MySQL With Rollup
Aggregate gathered number of units using MySQL’s With Rollup
How to List a Specific number of Random Rows in MySQL
Let’s say you have a list of 10 items you want to display but these items are randomly chosen items. In MySQL, you use the rand() function in the ORDER BY clause. This article demonstrates how to list a specific number of random rows my MySQL.
The Composite Design Pattern In Rust
This post shows how to use the Composite design pattern in Rust. Also, it offers a sample implementation with two levels of composition. For instance, we have a group of lists of products. The Composite Design Pattern Use Case Our
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.