Create Singleton Instance In Kotlin

There are many use cases where we need Singleton instances in applications. For example; to maintain a single instance of resources like a database or object store or file system....

Cloud Configuration With Micronaut and Consul

Micronaut is one of the new framework available to Java world which helps in developing web, cloud, and serverless applications. Recently we see many new frameworks evolving like Quarkus from...

Asyn Method Invocation Design Pattern

Synchronous execution blocks the thread until the task gets executed, means thread need to wait before moving on to the next task. For example, in a car reservation app, if...

Secure web application with OAuth

OAuth is a standard for authenticating users. There are many third-party OAuth authentication service providers are available. In this post, we learn to create a web application which allows users...

Deploy Serverless Kotlin App To Amazon AWS

In this article, we’ll implement a basic Kotlin function and deploy it as AWS Lambda. AWS Lambda is a serverless architecture which lets us to run code without managing servers...

Using Jsoup With Kotlin To Scrape Wiki Pages

In this article, I will explain using Jsoup library with Kotlin language. Jsoup helps us to parse and extract data from HTML documents. Depending on the use-case we can use...

Create Web Application With Ktor

Its easy to develop a web application using Ktor, In this article I am going to explain the tools we need and the steps for developing a small CRUD based...

Create REST services using Ktor

Ktor is a lightweight framework written in Kotlin programming language. This framework allows us to create asynchronous servers and clients. In this article I will explain the basics of Ktor...

Lightweight SQL Kotlin library

Exposed is a lightweight SQL library written using Kotlin language. In this article I will demonstrate this library with some simple examples. I will create some test tables and perform...