Java
-

Spring Cloud Tutorials – Auto Refresh Config Changes using Spring Cloud Bus
Problem In the previous article Introduction to Spring Cloud Config Server(http://sivalabs.in/2017/08/spring-cloud-tutorials-introduction-to-spring-cloud-config-server/) we have seen how to use Spring Cloud Config Server.…
Read More » -

Spring Cloud Tutorials – Introduction to Spring Cloud Config Server
Problem SpringBoot provides lot of flexibility in externalizing configuration properties via properties or YAML files. We can also configure properties…
Read More » -

1.x to 2.x migration: Observable vs. Observable: RxJava FAQ
The title is not a mistake. rx.Observable from RxJava 1.x is a completely different beast than io.reactivex.Observable from 2.x. Blindly upgrading rxdependency and renaming all…
Read More » -

What is javax.ws.rs.core.context? [ Part 1 ]
How to use the @Context annotation The JAX-RS API provides a very handy mechanism to inject a range of useful resources,…
Read More » -

Concourse caching for Java Maven and Gradle builds
Concourse CI 3.3.x has introduced the ability to cache paths between task runs. This feature helps speed up tasks which cache content…
Read More » -

How to convert a lambda expression to method reference in Java 8?
If you have been coding in Java 8 then you know that using method reference in place of lambda expression…
Read More » -

How to create a thread-safe ConcurrentHashSet in Java 8?
Until JDK 8, there was no way to create a large, thread-safe, ConcurrentHashSet in Java. The java.util.concurrent package doesn’t even…
Read More » -

Java Command-Line Interfaces (Part 11): CmdLn
This post describes using Ostermiller Java Utilities 1.08.02‘s CmdLn (Java Command Line Parser) to process command-line arguments from Java-based applications.…
Read More » -

What is private in Java 9?
When doing interviews I experience that most of the candidates do not know what private modifier in Java really means.…
Read More »

