This post demonstrate the basic process of converting TypeScript codes to JavaScript.
Check out from a specific branch from Git in IntelliJ IDEA
Moving to a new tool is always tricky in the beginning. However, as we get familiar with the tool, it becomes easier and easier to use every day. For instance, suppose you are used to working with git on the
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 @Bean/@Conditional. Requirements We used the following items for this post. Spring Boot 2.0.4.RELEASE JDK 8
Docker for Windows – Find Web application IP address and port number running in a Docker Container
This post shows how to find the Docker machine IP address and the port number in order to access a web application running in a Docker container.
Java Lambda Expression Parameter and Return Types
This post demonstrates the type of arguments we can pass to and return from a Lambda expression based on the functional interface abstract method definition.
Java 8 Convert Stream Values to Map Entries Examples
This post demonstrates how to convert a stream of objects to a Map object using Collectors.toMap(…) methods.
Kotlin – Validate XML Against Multiple XSDs
This post is about XML validation against more than one related XSDs – one XSD is included into the main XSD.
Java – Block main thread until another Thread completes
Given a simple Java application with a Thread object, we want to block the main thread until the Thread object completes its execution. The main thread is where the Thread object is created and its start method invoked.
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,
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