Validate JSON in Java with JSON Schema

Describe and validate your JSON documents I programmed a lot with XML and XML Schema helped me to define which elements and attributes can appear in a document. So I always wanted a grammar for JSON too. JSON Schema is exactly what I wanted. It has the following advantages:* describes existing data formats * provides […]

@apiNote, @implSpec and @implNote with Gradle

How-to build JavaDoc In this post, I explain to you how you can build JavaDoc with the new tags @apiNote, @implSpec and @implNote with Gradle. Prior to the new tags, the „JavaDoc“ always consisted of documentation about implementation and informative notes in a mixed way. With @apiNote, @implSpec and @implNote you can place different kinds […]

Microservices with Quarkus

Develop microservices with Quarkus and MicroProfile I bet you already have heard about Quarkus and MicroProfile. Microservices is today the most popular architecture style when creating cloud-native applications. Spring Boot is a good choice, but typical frameworks like Java EE/Jakarta EE, are not sufficient. Now Quarkus is an interesting alternative. Quarkus („Supersonic Subatomic Java“) is […]

HelloWorld with RESTEasy

An example with Gradle and current libraries RESTEasy is a cool project for building RESTful Web Services with Java. It is an JAX-RS implementation. And I really like the tight integration into quarkus. I show you how to build a simple project with Gradle (build.gradle.kts): That’s everything you need for building the project. And the […]

REST != REST

Standards and best practices REST is a defacto standard and every developer implements REST APIs in a different way. In this talk I’ll show best practices and standards around REST. I talk about developer experience with REST APIs, resource naming conventions, URI structure, HTTP methods / status codes and the REST Maturity Model. And the […]