Skip to content
Happy Programming Guide
Start learning

Java

Java for people starting out: classes, collections, exceptions and the object-oriented ideas the language is built around.

26 guides

Java

Building a Complete Java Project

Take Java from a single file to a real project: Maven, package structure, dependency injection by hand, tests, configuration, logging and a…

7 min read

Java

Java Design Patterns

The patterns still worth knowing in modern Java — builder, strategy, factory, observer, decorator and singleton — and which the language has…

5 min read

Java

Java: Where to Go From Here

A recap of what Java covers, an honest self-assessment checklist, the three directions to specialise in, and how to keep learning after…

4 min read

Java

Introduction to Java

What Java is, how the JVM works, where it is used, and your first program — plus an honest comparison with Python,…

5 min read

Java

Java Testing

Unit tests with JUnit 5: assertions, parameterised tests, mocking with Mockito, Spring Boot slice tests, and what is actually worth testing.

5 min read

Java

Java and the Spring Framework

What Spring actually does: dependency injection, beans and configuration, plus Spring Boot, and how a request travels through a Spring application.

5 min read

Keep going — pick your next guide

The fastest way to improve is to read one guide, then build the thing it describes. Start with the basics, or jump straight to a project.