DSL with Lambdas: A specific language for your domain

From Modern Java in Action by Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft

In this article, you will learn about DSL with Lambdas, the pros and cons of DSLs, and the different DSL solutions on JVM.

The Guide to Testing Microservices in Java


From Testing Java Microservices

By Alex Soto Bueno, Jason Porter and Andy Gumbrecht

When Bad Things Happen: client resiliency patterns with Spring Cloud and Netflix Hystrix

From Spring Microservices in Action by John Carnell

This article discusses client-side resiliency patterns intended to help make your app more robust and resistant to failure.

Reliably Configuring Java 9 Modules


From The Java 9 Module System
By Nicolai Parlog

Where Exactly is My Service Located?

From Spring Microservices in Action by John Carnell

In this article, we will talk about the ‘location’ of your service and service discovery in the Cloud.

Exploring the memoize Function

From Clojure: The Essential Reference by Renzo Borgatti

In this article we will explore some concrete examples of the many uses and intricacies of the memoize function from the Clojure standard library.

Declaring Higher-Order Functions

From Kotlin in Action by Dmitry Jemerov and Svetlana Isakova

The key idea of this article is the concept of higher-order functions. A higher-order function is a function that takes another function as an argument or returns one.

Functional APIs for Collections

From Kotlin in Action by Dmitry Jemerov and Svetlana Isakova

The functional style provides many benefits when it comes to manipulating collections. You can use library functions for most tasks and simplify your code. In this article, we’ll discuss some of the functions in the Kotlin standard library for working with collections.

Compiler-Generated Methods: data classes and class delegation

From Kotlin in Action by Dmitry Jemerov and Svetlana Isakova

The Java platform defines several methods that need to be present in many classes and are usually implemented in a mechanical way, such as equalshashCode, and toString. Fortunately, Java IDEs can automate the generation of these methods, and you usually don’t need to write them by hand. In this case, your codebase contains the boilerplate code. The Kotlin compiler takes a further step: it can perform the mechanical code generation, behind the scenes, without cluttering your source code files with the results.

The Essential Reference for the Clojure Standard Library

From Clojure: The Essential Reference by Renzo Borgatti

The standard library is one of the most important tools to master a language. One aspect that characterizes the standard library is the fact that it’s already packaged with a language when you first experiment with it. Interestingly, it doesn’t get the amount of attention you’d expect for such an easy-to-reach tool. This article will show you how much wisdom and potential is hidden inside the Clojure standard library.

© 2019 Manning — Design Credits