Search results


Groovy SwingBuilder and Threading

Andres Almiray and Danno Ferrin, authors of Griffon in Action, explain why a lack of proper threading is a problem, show a possible solution, and then take a closer look at SwingBuilder’s threading options.

Groovy SwingBuilder and Threading (PDF)

Deployment of Fluentd

From Unified Logging with Fluentd by Phil Wilkins

This article describes how and when to deploy Fluentd.

Bringing Fluentd to Life with “Hello World”

From Unified Logging with Fluentd by Phil Wilkins

Let’s image that you’re familiar with Fluentd’s architecture and how to deploy it and dive right into the classic “Hello World” exercise.

Exploring the useEffect API with Easy Examples

From React Hooks in Action by John Larsen

Some of our React components are super-friendly, reaching out to say “hi” to APIs and services outside of React. Although they’re eternally optimistic and like to think the best of all those they meet, there are some safeguards to be followed. In this article, we’ll look at setting up side effects in ways that won’t get out of hand. In particular, we’ll explore these four scenarios:

§ Running side effects after every render

§ Running an effect only when a component mounts

§ Cleaning up side effects by returning a function

§ Controlling when an effect runs by specifying dependencies

To focus on the API we’ll create some easy component examples. First up, let’s say “Bonjour, les side-effects.”

The API Gateway Pattern

From Microservices Patterns by Chris Richardson

In this article, I describe the API gateway pattern. I discuss its benefits and drawbacks. I also describe various design issues that you must address when developing an API gateway.

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.

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.

Spring, Spring Boot, and Five Years from Now

Learn more about Spring Boot and the Spring Framework in this interview with Craig Walls, author of Spring Boot in Action, along with five editions of Spring in Action.

Spock among Existing Java Testing Tools

From Java Testing with Spock
Spock among existing Java testing tools

Spock Adoption with Existing JUnit Tests

From Java Testing with Spock
Spock adoption with existing JUnit tests

© 2022 Manning — Design Credits