Create a JVM microservice in less than 10MB with Micronaut

In this blog post, we will create a simple hello-world microservice by using the Micronaut framework. We will explore why Micronaut has gained so much popularity in the last few years despite being the presence of other famous framework like Spring, Dropwizard etc. Micronaut is a modern, JVM based, full-stack framework for building modular, easily … Continue reading Create a JVM microservice in less than 10MB with Micronaut

Lazy Initialization in Java8

We don't have any Lazy<T> initialisation functionality in Java as we have in other languages like Scala, C# etc. But don't worry in Java we can implement the same kind of functionality by leveraging the Lambda's and Functional interface. In this example to create the lazy evaluation we will use the Supplier<T> interface, although same … Continue reading Lazy Initialization in Java8