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.

21 guides

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

Java

Java GUI Programming

Building desktop interfaces in Java: Swing for simplicity, JavaFX for modern applications, layout managers, events, and the threading rule you must not…

4 min read

Java

Java Database Connectivity (JDBC)

Connecting to a database from Java with JDBC: prepared statements, try-with-resources, transactions, connection pooling, and when to use JPA instead.

4 min read

Java

Java Collections Framework

Lists, sets, maps and queues in Java: which to choose, how they differ in speed, and the mistakes that cause ConcurrentModificationException and…

4 min read

Java

Java Web Development

How a Java web application is put together: servlets, Spring Boot, REST endpoints, templates, database access and what to configure before deploying.

4 min read

Java

Java Security

The security work that matters in Java applications: SQL injection, deserialization, dependency vulnerabilities, password hashing, XML parsing and secrets handling.

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.