Programmer DD
Author

Programmer DD

A tinkering programmer and author of "Spring Cloud Microservices in Action"

3.1k
Articles
0
Likes
733
Views
0
Comments
Recent Articles

Latest from Programmer DD

100 recent articles max
Programmer DD
Programmer DD
Oct 23, 2024 · Artificial Intelligence

How to Build a Generative AI App with Ollama and Spring Boot

This guide walks you through setting up Ollama for local large‑model serving, creating a Spring Boot project with Spring AI support, writing a unit test to query the model, and explains how to add the necessary dependencies for AI integration in existing Java applications.

AI integrationGenerative AIJava
0 likes · 7 min read
How to Build a Generative AI App with Ollama and Spring Boot
Programmer DD
Programmer DD
Aug 29, 2024 · Backend Development

Tomcat vs Jetty vs Undertow: Which Spring Boot Embedded Server Performs Best?

This article builds a simple Spring Boot Greetings API, configures Maven profiles for Tomcat, Jetty, and Undertow, creates Docker images for each, runs load‑testing benchmarks across multiple concurrency levels, and analyzes startup time, CPU, memory, and response performance to determine the optimal embedded server.

DockerJettySpring Boot
0 likes · 20 min read
Tomcat vs Jetty vs Undertow: Which Spring Boot Embedded Server Performs Best?
Programmer DD
Programmer DD
Aug 28, 2024 · Backend Development

How to Create Custom Spring Boot Annotations for Automatic Error Logging

Learn how to simplify repetitive error-handling code in Spring Boot by creating a custom @ErrorHandler annotation that leverages Spring AOP to automatically log exceptions, with step-by-step instructions, required dependencies, annotation definition, aspect implementation, and usage examples.

AOPCustom AnnotationError Logging
0 likes · 8 min read
How to Create Custom Spring Boot Annotations for Automatic Error Logging
Programmer DD
Programmer DD
Aug 16, 2024 · Backend Development

How a Hidden Uint Overflow Triggered Massive Traffic Spikes and the Memory‑Leak Mystery I Solved

This article recounts a developer's journey from a fresh graduate to a senior backend engineer, detailing two real‑world incidents—a pseudo‑memory‑leak in a C++ service and a uint overflow that caused traffic bursts—showing the analysis steps, code fixes, and lessons learned for reliable backend development.

C++Memory LeakPerformance optimization
0 likes · 19 min read
How a Hidden Uint Overflow Triggered Massive Traffic Spikes and the Memory‑Leak Mystery I Solved
Programmer DD
Programmer DD
Aug 10, 2024 · Artificial Intelligence

How Spring AI Now Supports OpenAI Structured JSON Output – A Quick Guide

Spring AI has added full support for OpenAI's structured output feature, enabling developers to define JSON schemas for AI responses, with example code showing how to configure prompts, response formats, and BeanOutputConverter for seamless JSON-to-Java bean conversion, plus Spring Boot starter configuration.

JSON SchemaJavaOpenAI
0 likes · 5 min read
How Spring AI Now Supports OpenAI Structured JSON Output – A Quick Guide
Programmer DD
Programmer DD
Aug 9, 2024 · Fundamentals

What ‘Dirty Tricks’ Reveal About Effective Software Engineering

The author reflects on reading Mark’s ‘Clean Code’ sequel, sharing how seemingly ‘old‑school’ heuristics—like backup configs, commit‑message discipline, and the rubber‑duck method—remain vital in modern software development, despite flashy tools, and urges readers to embrace practical, experience‑driven practices.

code qualitydevelopment practicesheuristics
0 likes · 10 min read
What ‘Dirty Tricks’ Reveal About Effective Software Engineering
Programmer DD
Programmer DD
Aug 9, 2024 · Backend Development

Discover the Most Powerful IntelliJ IDEA 2024.2 Features for Java & Kotlin Developers

IntelliJ IDEA 2024.2 introduces a suite of developer‑focused enhancements—including instant Spring Data JPA queries, cron expression auto‑completion, GraalJS‑powered HTTP client, advanced log management, real‑time performance charts, and rich data‑format visualizers—designed to boost productivity for Java and Kotlin programmers.

GraalJSIntelliJ IDEAJava
0 likes · 6 min read
Discover the Most Powerful IntelliJ IDEA 2024.2 Features for Java & Kotlin Developers