Tag: java

Total 164 Posts

Formatting Strings in Java

Introduction

There are multiple ways of formatting Strings in Java. Some of them are old-school and borrowed directly from old classics (such as printf from C) while others are more in the spirit of object-oriented programming, such as the MessageFormat class.

In this article, we'll gloss over several of these

Continue Reading

Jump Search in Java

Introduction

Be it searching through a playlist for your favorite song or seeking through a catalog to pick the restaurant to have your next meal in, our lives are filled with searching for things.

In quite the same way, computers perform search queries on their data collections and structures. However,

Continue Reading

Guide to Spring Cloud Task: Short-Lived Spring Boot Microservices

Introduction

Microservices are being developed all around us nowadays. Many of these services are short-lived. Scheduled tasks, data synchronization, data aggregation, report generation and similar services are short-lived. They are typically expected to start, run to completion and end.

Many external applications and schedulers have been built to meet this

Continue Reading