I just announced the new Spring Boot 2 material, coming in REST With Spring:

>> CHECK OUT THE COURSE

The Cookbooks are a new type of format for me – these are quick to illustrate how to use a technology by putting forward very code focused snippets and examples.

Since the focus is simplicity and speed, most recipes don’t require any additional explanation other than the code itself.

Finally – I am looking at this as a living document – I’m going to keep adding recipes and examples as I run into them. Feel free to provide more in the comments and I’ll look to incorporate them into each cookbook.

1. Guava

Guava Functional Cookbook

Guava Predicate and Function examples and usage best practices.

Guava Ordering Cookbook

Ordering in Guava and how it works with the standard comparators.

Guava Collections Cookbook

Guava Collections and how to best leverage them for practical operations.

 

2. Mockito

Mockito Verify Cookbook

Mockito Verify examples, usage and best practices.

Mockito When/Then Cookbook

Mockito configure Behavior – examples, usage and best practices.

 

3. Hamcrest

Hamcrest Collections Cookbook

Common Hamcrest matchers helpful when working with Collections and arrays.

 

4. Apache HttpClient 4

HttpClient 4 Cookbook

HttpClient 4 examples and best practices.

 

These cookbooks are all based on the github project. Watch and fork it at will – the project is designed with simplicity in mind, so each recipe is done as a very simple test you can play with to understand the example.

I just announced the new Spring Boot 2 material, coming in REST With Spring:

>> CHECK OUT THE LESSONS