Explore two different ways of implementing a message sending retry strategy named Exponential Backoff. >>>
Yearly Archives: 2020
Introduction to Moshi Json
Explore Moshi – a modern JSON library for Java that will give us powerful JSON serialization and deserialization in our code with little effort. >>>
List All Redis Databases
Learn several ways to list all databases in a Redis instance. >>>
Java Weekly, Issue 322
A solid overview of the Quarkus container-first framework for Java, and Spring Core Framework has a couple of new releases. >>>
Check for null Before Calling Parse in Double.parseDouble
Learn how to check for null before converting a string to a double using Double.parseDouble. >>>
How to Lock a File in Java
Learn about different file locking techniques using the Java NIO Library. >>>
Swagger @ApiParam vs @ApiModelProperty
Learn the difference between Swagger’s @ApiParam and @ApiModelProperty >>>
Asynchronous HTTP Programming with Play Framework
The Play Framework provides an asynchronous HTTP client to make calls to web services in the background while doing other work. We explore how to use it. >>>
Design Principles and Patterns for Highly Concurrent Applications
A quick and practical overview of design principles for highly concurrent applications! >>>
Using JSON Patch in Spring REST APIs
Learn how to use the HTTP PATCH method along with the JSON Patch document format to apply partial updates to RESTful resources >>>
Executors newCachedThreadPool() vs newFixedThreadPool()
Compare the newCachedThreadPool() and newFixedThreadPool() implementations and their use-cases >>>
Configuring Retry Logic in Spring Batch
Spring Batch allows us to set retry strategies on tasks so that they are automatically repeated when there is an error. Here we see how to configure it. >>>
Configuring Thread Pools for Java Web Servers
Learn how to configure thread pools on different java web application servers >>>
Introduction to cache2k
Learn how to use cache2k, a lightweight in-memory Java caching library. >>>
Introduction to the jcabi-aspects AOP Annotations Library
Learn about the jcabi-aspects Java library, a collection of handy annotations that modify the behavior of Java application using aspect-oriented programming >>>
Modifying the Response Body in a Zuul Filter
Learn about the Netflix Zuul’s post filter. >>>
Getting Started with CRaSH
A quick and practical guide to CRaSH. >>>
Java Weekly, Issue 321
Spring’s new website sports a fresh, clean design, and an exercise in optimizing a Java method with an eye toward minimizing its bytecode footprint. >>>
Arrays.deepEquals
In this tutorial learn all about how to use the Java Arrays deepEquals method. >>>
How to Handle Java SocketException
Learn what causes SocketException in Java and how to handle it. >>>