Use ↑ ↓ to navigate, ↵ to open, Esc to close.

Binary file uploads to REST endpoints using Jakarta EE or Quarkus

How to build a REST API that accepts binary attachments? As part of a multipart payload, or as the whole body. Standard Jakarta REST 3.1 EntityPart, the Quarkus @RestForm approach, and the raw application/octet-stream case, with code examples and the usual pros and cons.

Unknown JSON fields in Java REST clients: JSON-B, Jackson, Quarkus, and Spring Boot

What happens when a JSON response contains more fields than your DTO declares? The answer depends on your JSON provider. A look at the defaults for JSON-B, Jackson, Quarkus, and Spring when consuming an API with the MicroProfile REST Client – with the official docs to back each one up.

Sane API error handling with RFC 9457 Problem Details in Jakarta EE

A practical look at RFC 9457 Problem Details for HTTP APIs in Jakarta EE – a hand-made ProblemDetail + ExceptionMapper approach, the Zalando Problem library, and a short note on Quarkus and Spring.

Multiplying The Developer Joy: Multiple Quarkus Containers + Simultaneous Remote Development Sessions

Running several simultaneous Quarkus app containers on your machine with the Quarkus’ remote development mode activated presents some challenges. Let’s have a look at how we can fix this.