Skip to main content

Java Modules (JPMS) for Working Developers: module-info, exports, opens and jdeps

Why the Java module system exists and how to read its errors: module-info.java, exports versus opens (with the exact InaccessibleObjectException text), requires transitive, services, split packages, automatic modules, the class path as the unnamed module, jdeps and jlink, every transcript captured on JDK 25 (Temurin 25.0.5.1).

Tool Calling with Small Local Models: Which Ollama Models Actually Follow Your Schema? (LangChain4j)

The same four MCP-served tools and twelve prompts run five times each against six small Ollama models through LangChain4j 1.24.0: 360 scored answers. One model got 60 of 60 right, a 3.2B model got half, and the failures have recognisable shapes (a wrapped call, a number sent as a string, a tool called when none was wanted) with a repair for one of them.

MyBatis with Spring Boot 4: Mappers, Dynamic SQL and Pagination

A first-meeting guide to MyBatis on Spring Boot 4.2: annotation and XML mappers, result maps (JOIN vs N+1), dynamic SQL, #{} vs ${}, PageHelper and its ThreadLocal trap, and @MybatisTest. Every SQL statement quoted was printed by a real run of the companion module.

Records and Value Objects in Hibernate 7: @Embeddable Records Done Right

How @Embeddable records behave in Hibernate 7.4.17, shown with captured SQL: the all-null rule (a null attribute never reaches your constructor), replace-not-mutate updates, why one removed element rewrites a whole Set, record equals vs database equality, a DDD Email value object, and why a record cannot be an @Entity.