Tutorials
Everything published on BitSnippets, grouped by topic. Courses are written in order, but each chapter is self-contained enough to be used as a reference.
Angular, Spring Boot, MyBatis and PostgreSQL now each have a full course — plus the argument for why they belong together, a complete application built with all four, and a Docker and cloud deployment course to ship it.
Persistence & SQL
The data-access layer is where most Java performance bugs are born.
The Complete MyBatis Tutorial
From your first SqlSessionFactory to interceptor plugins and Testcontainers-backed
integration tests. One running schema is used throughout, so every snippet builds on the last.
PostgreSQL for Application Developers
The database half of the stack: schema design that makes bad data impossible, indexes that
are actually used, reading EXPLAIN output, and the operational facts —
MVCC, vacuum, pooling and backups — that decide whether production stays up.
Spring ecosystem
The default way to build a JVM backend service — and the framework whose "magic" causes the most confusion.
The Complete Spring Boot Tutorial
From an empty main method to Kubernetes probes. One bookstore API is built
throughout, so every chapter adds to something that already runs.
Spring Cloud for multi-service systems
Config server, service discovery, gateway and resilience patterns — and when you do not need any of them.
Spring Batch
Chunk processing, restartability, partitioning and job monitoring for real data volumes.
Messaging with Kafka and RabbitMQ
Listeners, retries, dead-letter topics, idempotency and the transactional outbox pattern.
Front end
The other half of a web application — and the half most backend developers are asked to maintain anyway.
Modern Angular
Standalone components, signals, the new control-flow syntax and typed
HttpClient — Angular as it is written today, without the NgModule
archaeology.
Full-stack projects
Where the four courses meet: one application, built and shipped.
Build an Order Management System
Angular + Spring Boot + MyBatis + PostgreSQL in one application: domain design, a schema with real constraints, mappers, a secured REST API with an explicit state machine, and an Angular front end driven by the server's rules.
Containerisation & Cloud Deployment
Docker fundamentals, multi-stage images for Spring Boot and Angular, the whole stack under Compose, then a GitHub Actions pipeline deploying to Kubernetes or a managed platform — with probes, safe migrations and rollback.
Build & tooling
Maven dependency resolution
Nearest-wins, dependency management, BOM imports and reading mvn dependency:tree fluently.
Gradle for Maven refugees
Configurations, the build cache, convention plugins and incremental task authoring.
Container-friendly Java images
Layered jars, CDS archives, jlink runtimes and JVM ergonomics inside cgroups.
Testing
Spring Boot test slices
Covered in Spring Boot chapter 11: @WebMvcTest, @DataJpaTest and context caching.
Contract testing for REST APIs
Keeping producer and consumer honest without a fragile end-to-end suite.
Performance
JFR & async-profiler in production
Low-overhead profiling, flame graphs and finding the 3% of code that costs 80% of CPU.
Architecture patterns
DTO strategies that don't rot
Projection design, mapping libraries and versioned API payloads.
Hexagonal architecture, pragmatically
Ports and adapters without turning a CRUD service into a research project.