This post shows how to use Micronaut applications that use OAuth2 with Keycloak in a Microservice context. Furthermore, it uses two Micronaut applications. The first application allows users (or programs) to log in and acquire JWT tokens. On the other
Spring Boot Consul Distributed Configuration Example
This post shows an example of a Spring Boot application that consumes distributed configuration from a Consul instance in a local development environment setup. We’ll generate a Spring Boot project and then modify it a bit to access Consul. Requisites
Micronaut Client-Side Load Balancing Example in Java
This post shows how to use client-side load balancing in Micronaut with Netflix Ribbon. There’ll be a client application accessing the same URI from multiple instances of another Micronaut application. Create Multiple Instances of a Micronaut Service Application To create
Run Multiple Micronaut Applications In IntelliJ Without Docker
Working with Microservices sometimes involves testing multiple instances of an application running on different port numbers. At times, we’d prefer to spawn those instances straight from our IDE, e.g., IntelliJ. For example, we’d like to figure out an ideal configuration
Micronaut Consul Service Discovery Example In Java
Previously, we had an application that reads a property from a distributed configuration. This post shows how to use Micronaut with the Consul’s Service Discovery. We will use two applications where one of them accesses the other’s URI. Also, we
Micronaut Consul Distributed Configuration Example In Java
When we start to build something based on Microservice design, we’d inevitably need a distributed configuration for our applications. Having a distributed configuration makes scaling them out a lot easier. This post shows how to configure Micronaut to pick up
Android Dagger2 greenDAO ORM With Service And DAO Layers
This post shows how to create a sample Android app that uses Dagger2 and greenDAO ORM. The codes are also organized in service and DAO layers. Previously, we touched briefly on greenDAO ORM for SQLite. This time we’re using the
Android greenDAO ORM For SQLite Example
This post shows how to use greenDAO ORM for SQLite in Android using a demo app. We start with a simple Android project in the Android Studio, create a few entities, save to and read data from the database. Requirements
DOWNLOAD Videos SHARED On Google Photos
This post shows how to download videos shared on Google Photos to another Gmail account. Meaning, the files are not publicly accessible via links, and another Gmail account to access them is needed. This may also be applicable for photos,
Rust Find Duplicate Files With The Same Digests
This post shows how to find duplicate files in Rust with the same digests. The codes display list of duplicate files under the same digest. Personal Use Case I have a lot of files stored in Google Drive. I plan