This post demonstrates how to reuse Predicate @FunctionalInterface implementations to reduce duplicate codes in your applications.
Create a Spring Boot Application using IntelliJ
Using Spring Boot is the fastest way to get up to speed in developing modern applications. But how do we create the initial codebase that works out of the box? There are three ways – by hand, the Spring Initialzr,
Access Embedded in-memory H2 Used in Spring Boot
When we use an embedded in-memory H2 database with Spring Boot, we can access the data via H2’s web console. If we use Spring Security, we need to exclude the /h2-console URL from the authentication process. You also need to
Convert Spring Boot to Deployable WAR for Tomcat
This post demonstrates how to convert your Spring Boot web application to a deployable WAR file for Tomcat.
Spring Boot – How to use @Conditional in your own codes
This post demonstrates how to use the @Conditional annotation which is the workhorse of Spring Boot’s automatic configuration. You may also use this technique in your own codes.
Kotlin – SOAP Web Service
This post demonstrates how to create a simple SOAP-based Web Service with Kotlin.
How To Use Java 8 Stream Reduce Example
This post shows how to use Java Stream Reduce with example codes. The idea of the reduce operation is the generation of a single result from a collection of values or objects. It is similar to the min and max operations
Java 8 – Convert Iterator to Stream Using StreamSupport
Although not a common scenario, some libraries return Iterators instead of Stream or Collection objects. Why? Because they can. If the Java libraries you are using have methods that return Iterator objects, this will show how to convert Iterator to
Convert String to LocalDate in JodaTime and Java 8
Handling dates (and time) is never easy and time-consuming. Moreover, its support by Java has been inadequate. If you find yourself longing for some libraries to ease the pain, go ahead because you are not alone. For pre-Java 8, one
Kotlin – Using Java 8 Date and Time API
This post shows sample Kotlin codes that use the Java 8 Date and Time API (java.time). Requirements These are Software applications used for this post. IntelliJ IDEA Ultimate 2016.3 The Community Edition may be enough but we have not tried