Java Nibble
Welcome to Java Nibble, a blog about learning all things Java, bit by bit. I write these posts while I learn each topic myself. Each one takes a single idea, explains it clearly and backs it up with working code you can run.
What you’ll find here
- The Java Language
- Modern Java features, explained with examples: pattern matching, records, switch expressions, preview features and what each new JDK release changes. Browse Java posts
- System Architecture & Design
- How to structure systems that last, from design principles and patterns to messaging, integration and building services that scale.
- Identity & Access Management
- How authentication and authorisation actually work: OAuth 2.0, OpenID Connect, tokens, and securing APIs and applications. Browse OAuth 2.0 posts
Latest Posts

Primitive Types in Patterns (JEP 507 – Third Preview)
A complete guide to primitive type patterns in Java: instanceof as a safe cast, switch on long/float/double/boolean, primitive components in record patterns, exhaustiveness, dominance, and the gotchas. Continue reading Primitive Types in Patterns (JEP 507 – Third Preview)
See Blog for more
Learning Guides
Structured, multi-module courses that start with the basics and build up to advanced topics, with source code on GitHub.

REST Assured Learning Guide
A hands-on course for testing web APIs in Java with REST Assured. Continue reading REST Assured Learning Guide
See Learning Guides for more