Java, Software Development, Spring

Spring Boot Asynchronous Controller Without External Queues

This post shows how to create an asynchronous web controller or endpoint in Spring Boot (or Spring in general). The codes won’t use external queues of any kind. However, they’ll

Read More...

Java, Java Microservices, Spring Boot

Spring Boot Consul Service Discovery And Client Example

This post shows how to use Spring Boot Service Discovery with Consul. We’ll have two Spring Boot applications. One application registers itself with Consul. It then becomes discoverable to another

Read More...

Java, Java Tutorial, Software Development

Chapter 2: Why You Should Learn Programming With Java

In the early 90s, Sun Microsystems developed and released the Java programming language. It is a general-purpose and high-level language that can run on various operating systems, like Windows, Mac

Read More...

Java Microservices, Micronaut, Microservices

Micronaut OAuth2 Keycloak Example That Works

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)

Read More...

Java Microservices, Microservices, Spring Boot

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

Read More...

Java, Java Microservices, Micronaut, Microservices

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.

Read More...

Docker, Java Microservices, Micronaut, Microservices

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.

Read More...

Java, Java Microservices, Micronaut, Microservices

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

Read More...

Java, Java Microservices, Micronaut, Microservices

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.

Read More...

Android, Java, Software Development

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

Read More...