Introduction to Bootique
1. Overview Bootique is a very lightweight open-source container-less JVM framework aimed to build next-generation scalable micro-services. It’s built on top of embedded Jetty server and fully...
View ArticleQuick Guide to RSS with Rome
1. Overview RSS (Rich Site Summary or Really Simple Syndication) is a web feed standard that provides readers with an aggregated content from various locations. The user can see what’s been published...
View ArticleUsing Spring @Value with Defaults
1. Overview Spring’s @Value annotation provides a convenient way to inject property values into components. It’s also quite useful to provide sensible defaults for cases where a property may not be...
View ArticleIntroduction to gRPC
1. Introduction gRPC is a high performance, open source RPC framework initially developed by Google. It helps in eliminating boilerplate code and helps in connecting polyglot services in and across...
View ArticleJava Weekly, Issue 189
Here we go… 1. Spring and Java >> Function-Oriented Programming with Spring Cloud Function Framework [infoq.com] Spring Cloud Function is a new project that embraces working with functions –...
View ArticleInject Parameters into JUnit Jupiter Unit Tests
1. Overview Prior to JUnit 5, to introduce a cool new feature, the JUnit team would have to do it to the core API. With JUnit 5 the team decided it was time to push the capability to extend the core...
View ArticleQuick Guide to the Spring @Enable Annotations
1. Overview Spring comes with a set of @Enable annotations that make it easier for developers to configure a Spring application. These annotations are used in conjunction with the @Configuration...
View ArticleIntroduction to NoException
1. Overview Sometimes try/catch blocks can result in verbose or even awkward code constructs. In this article, we’ll focus on NoException which provides concise and handy exception handlers. 2. Maven...
View ArticleKotlin and Tail Recursion
1. Introduction Some algorithms work best when implemented in a recursive manner – where a computation is based on a simpler form of the same computation. In most programming languages, there is a...
View ArticleIntroduction to Eclipse Collections
1. Overview Eclipse Collections is another improved collection framework for Java. Simply put, it provides optimized implementations as well as some additional data structures and features which are...
View ArticleJava 9 java.util.Objects Additions
1. Introduction The java.util.Objects class has been part of Java since version 1.7. This class provides static utility methods for objects which can be used to perform some of the everyday tasks like...
View ArticleSpring Batch using Partitioner
1. Overview In our previous introduction to Spring Batch, we introduced the framework as a batch-processing tool. We also explored the configuration details and the implementation for a...
View ArticleDifference between URL and URI
1. Overview In this short article, we’ll take a look at the main differences between URIs and URLs and implement examples to highlight those differences. 2. URI and URL The difference between them is...
View ArticleSpring Boot Dependency Management with a Custom Parent
1. Overview Spring Boot provides the parent POM for an easier creation of Spring Boot applications. However, using the parent POM may not always be desirable, if we already have a parent to inherit...
View ArticleBroadcasting and Multicasting in Java
1. Introduction In this article, we describe how one-to-all (Broadcast) and one-to-many (Multicast) communications can be handled in Java. The broadcast and multicast concepts outlined in this article...
View ArticleJava Weekly, Issue 190
Here we go… 1. Spring and Java >> Java Still Number One, But What’s Taking Over? [infoq.com] Surprising no one, Java is still number one, but interest in the language is making room for...
View ArticleJava 8 Stream API Analogies in Kotlin
1. Introduction Java 8 introduced the concept of Streams to the collection hierarchy. These allow for some very powerful processing of data in a very readable way, utilizing some functional programming...
View ArticleGuide to Volatile Keyword in Java
1. Overview In this quick article, we’ll focus on a foundational but often misunderstood concept in the Java language – the volatile keyword. In Java, each thread has a separate memory space known as...
View ArticleGuide to Spring Data LDAP
1. Introduction In this article, we’ll focus on Spring Data LDAP integration and configuration. For a step by step introduction to Spring LDAP, have a quick look at this article. Also, you can find...
View ArticleAutomatic Property Expansion with Spring Boot
1. Overview In this article, we’ll explore the property expansion mechanism provided by Spring through Maven and Gradle build methods. 2. Maven 2.1. Default Configuration For Maven projects using the...
View Article