15 July 2022
Java functional interfaces reference
This post is a quick reference on the built-in functional interfaces available in the Java API.
Archive
Kept here for anyone who finds them useful.
15 July 2022
This post is a quick reference on the built-in functional interfaces available in the Java API.
29 July 2021
This post explores whether a PUT request should be used for creating resources or not.
28 April 2021
Yesterday I reached 100k reputation points on Stack Overflow, and it feels like a significant milestone in my journey as a software engineer.
19 August 2019
This post demonstrates how to combine Jackson Streaming API and the data binding capabilities provided by ObjectMapper to parse JSON content.
8 August 2019
This post demonstrates how to compare JSON documents in Java with JSON-P.
30 June 2019
This post demonstrates how to use Elastic Stack along with Docker to collect, process, store, index and visualize logs of Spring Boot microservices.
23 June 2019
This post explores some techniques for asserting exceptions in Java with JUnit.
10 June 2019
This post demonstrates an approach to support HTTP PATCH in Spring.
23 July 2018
My insights on comparing JSON documents in Java.
12 December 2017
A compilation of some Maven commands for quick reference.
22 November 2017
Still using the RFC 2616 as reference for the HTTP/1.1 protocol? Please stop!
21 November 2017
Using Jackson with JAX-RS? See how to define a ContextResolver for ObjectMapper to customize serialization and deserialization.
23 August 2017
Using the Jackson API to introspect a Java class and extract the available JSON properties from it.
2 June 2017
Writing a custom validator to validate multiple fields.
24 January 2017
Writing a custom deserializer to read a JSON property as String with Jackson.
7 October 2016
Example of how to create a standalone application with Jersey with Spring Boot.
17 September 2016
Jackson API makes it easy to covert Java objects to a map instance and vice versa.
9 September 2016
A summary of the HTTP status codes defined as cacheable, according to the RFC 7231.
9 September 2016
Examples of how to execute operations when the application starts up or shuts down using Servlets, CDI and EJB.
10 August 2016
Using Jackson, a popular JSON parser for Java, in Jersey applications.
13 July 2016
Example of how to use JSON Path with Jackson.
23 March 2016
Why you should consider using Data Transfer Objects instead of persistence models in your REST API.
8 March 2016
A summary of all types that can be injected with @Context in JAX-RS resources and providers.
11 February 2016
Ideas of meaningful names for your DTOs.
7 June 2015
Using ShrinkWrap resolvers to add Maven dependencies to Arquillian tests.
6 November 2014
How to perform authentication with tokens in JAX-RS applications.