
From Java EE to Jakarta EE the Namespace Change Explained
Why javax became jakarta, which packages moved and which did not, who is affected and how the change shows up in Spring Boot 3 and application servers.
Tag
99 posts

Why javax became jakarta, which packages moved and which did not, who is affected and how the change shows up in Spring Boot 3 and application servers.

How the Hibernate first level cache and flush modes work: identity map behaviour, AUTO flush before queries, COMMIT and MANUAL modes and batch clearing.

Define a custom Java annotation with retention, target and parameters, read it with reflection, build a validator and see where processors fit.

See what generic type erasure removes at runtime, why new T and instanceof List of String fail, and the type token pattern that works around it.

Why native Java deserialization is dangerous, how gadget chains work, how to filter with ObjectInputFilter and what to use instead.

Why exactly once delivery is hard: the Two Generals problem, at-least-once and at-most-once semantics, and how Kafka and idempotence give effectively once.

Define unit, integration and end-to-end tests in a Java service by what each one starts, what it can catch and what it costs to run.

Understand the JUnit Jupiter extension model: extension points, ExtendWith, parameter resolvers, callbacks and conditions, with three custom examples.

What Open Session in View does in Spring Boot, why it hides LazyInitializationException, how it keeps a database connection longer, and how to spot its costs.

What the single responsibility principle really means in Java: one reason to change, how to find a class doing too much and how far to split it.

What the Java Memory Model guarantees about visibility and ordering, how happens-before edges are created and why unsynchronized code can loop forever.

Map every region of memory a JVM process uses, from the heap and thread stacks to Metaspace and direct buffers, and measure each with Native Memory Tracking.