Connection Pools and Transactions in Java
Executive Summary: Production JDBC needs a connection pool and explicit transactions. I show how to configure HikariCP and…
Category
These backend development guides cover the parts users never see: data, queues and services. Most posts compare two options and explain when each wins.
For example, SQL vs NoSQL and Kafka vs RabbitMQ help with common choices. Also, monolith vs microservices tackles the biggest one. Language series live in the Java, Python and Node.js sections below.
149 articles
Executive Summary: Production JDBC needs a connection pool and explicit transactions. I show how to configure HikariCP and…
Executive Summary: JDBC is a standard interface over vendor drivers, built on Connection, PreparedStatement, and ResultSet. Here I…
Executive Summary: A Java CI pipeline on GitHub Actions starts with one workflow file that checks out the…
Executive Summary: Debugging Java follows one loop: reproduce, isolate, form one hypothesis, and verify it with evidence. Here…
Executive Summary: Java logging works best with SLF4J as the facade and Logback as the engine, so levels…
Executive Summary: Good tests follow the test pyramid: many fast unit tests, fewer integration tests, and a thin…
Executive Summary: Mockito lets you replace a class’s dependencies with mocks, stub their responses, and verify the calls…
Executive Summary: A JUnit 5 test is a method annotated @Test that passes when its assertions hold. I…
Java latency playbook: allocation and I/O techniques, pooling, async-profiler and JMH guidance, with before/after discipline.
Eleven practices that keep an LLM feature alive in production, ranked by impact, each with a wrong example,…
Executive Summary: Java performance tuning works best as a loop: reproduce under steady state, set a baseline, profile,…
Separate deterministic tests from evals, build a golden dataset, score with code before judges, and read pass rates…
Expose your own tools and data to AI assistants through the Model Context Protocol: a complete Python server,…
Executive Summary: Java garbage collection reclaims objects no GC root can reach and organizes the heap by age…