PinnedCem Dırman·Oct 12LangChain4j @AiService in Spring Boot: Stop Parsing LLM Strings by HandIf you have wired an LLM into a Spring Boot service before, you know the shape of the pain. You build a prompt string, send it to the…A response icon1A response icon1
Cem Dırman·2d agoThe Decorator Pattern in Spring: Wrap a Bean With Caching or Metrics Without Touching ItIf you have used Spring’s @Cacheable or built a Strategy map of beans, you already know Spring likes to keep behavior out of your core…
Cem Dırman·5d agoYour @TransactionalEventListener Is Silently Not FiringIf you are coming from plain @EventListener, you already know the shape: publish an event, a listener reacts, your service stays decoupled…
Cem Dırman·Oct 28C# & .NET for Java/Spring Developers-3: LINQ vs Java StreamsIf you’re coming from Spring Boot, you reach for Stream<T> any time you need to filter, map, or collect a list without writing a for loop…
Cem Dırman·Oct 27C# & .NET for Java/Spring Developers-2In Part 1 we compared project files and dotnet CLI basics. This time it’s async. If you’ve written a Spring Boot service that fans out to…
Cem Dırman·Oct 26C# & .NET for Java/Spring Developers-1If you’ve spent years shipping Spring Boot services, C# and .NET will feel familiar within about ten minutes and then throw a few genuine…
Cem Dırman·Oct 23Your API Gets Slower on Every Page: Keyset Pagination with Spring DataIf you paginate with Pageable, you are using OFFSET pagination, and it has a property most people never notice in development: it gets…
Cem Dırman·Oct 22Your save() Runs a SELECT Before Every INSERT — Blame Your UUID KeysTurn on SQL logging, save a brand-new entity, and watch the console. You expect one line: an INSERT. Instead you get two — a SELECT by…
Cem Dırman·Oct 21Delete the switch: Spring Injects the Strategy Pattern for YouIf you have written any Spring service, you have written this switch at least once. Something arrives with a type on it — a payment method…
Cem Dırman·Oct 20Your Heap Just Got Smaller in Java 27: Compact Object HeadersIf you upgraded a service to Java 27 and noticed the heap graph settle a notch lower without touching a line of code, you are looking at…