Resumable file uploads with plain Jakarta EE and TUS protocol
Plain uploads break when connections drop. The TUS protocol fixes that with resumable uploads. Here we will implement it with pure Jakarta REST using POST, HEAD, PATCH, and a few headers.
Use ↑ ↓ to navigate, ↵ to open, Esc to close.
Plain uploads break when connections drop. The TUS protocol fixes that with resumable uploads. Here we will implement it with pure Jakarta REST using POST, HEAD, PATCH, and a few headers.
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.
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.
A practical look at Jakarta Expression Language as a small in-process policy engine – replacing a handwritten predicate parser with `jakarta.el.ELProcessor`, then hardening evaluation with a resolver whitelist and timeout.
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.
Exploring common API versioning strategies in Java using JAX-RS with Jakarta EE and MicroProfile – URL, header, and media type versioning – with pros, cons, and practical code examples.
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.
Getting started with building data pipelines using Apache Beam Java SDK
How to get a graph representation of your data pipeline in Apache Beam, step by step.
Getting started with MicroProfile – defining end-points for JSON, images, and PDF responses.
A step-by-step tutorial on generating PDF files in Java with text, images, and metadata.
A step-by-step tutorial on generating QR codes and secure hashed strings with salt in Java.
Common pitfalls in software development and practical suggestions on how to fix them.
Getting an overview of your project with simple command-line tools.
The five main types of Maven plugins that will simplify the development process and increase maintainability of a project.
On June 16th, I will be doing a workshop at JBCNConf in Barcelona, Spain. I will be talking about semantic technologies, reasoning, and Java. I have been asked to post some information about the workshop, so here it comes.