Table of Contents How can Spring help?PrerequisitesCreating our appConnecting our databaseOur Book modelBook repositoryOur REST controllerCreateReadUpdateDeleteAdding DTOs and validationBookRequestBookResponseUpdating the controllerTesting the APIRun the APICreateReadUpdateDeleteConclusion REST has become the default choice for building web services, and for good reason. It’s …
-
Queryable Encryption With Spring Data MongoDB: How to Query Encrypted Fields
Table of Contents Why Queryable Encryption?A quick look at Spring Data MongoDBUse case: HR system with encrypted fieldsSetting up the projectConfiguring dependencies and propertiesAdding mongodb-cryptApplication.yml configurationAccessing properties in the codeBuilding the application layersThe domain modelThe repositoryThe serviceThe controllerSetting up encryptionConfiguring …
-
New Java Benchmark for Coding LLMs puts GPT-5 at the top
Table of Contents GPT-5 is on top at every performance level and every price point… but it’s no speed demonPerformance by task lengthOther observationsImplications for buildersA Note on Reasoning Introducing the Brokk Power Ranking The Brokk Power Ranking is a …
-
OpenTelemetry Tracing on the JVM
Table of Contents CommonalitiesRunning the OpenTelemetry AgentMicrometer Tracing on Spring BootOpenTelemetry Spring Boot StarterQuarkusDiscussion You may know I’m a big fan of OpenTelemetry. I recently finished developing a master class for the YOW! conference at the end of the year. …
-
Preparing for Spring Framework 7 and Spring Boot 4
Table of Contents 1. Built-in Resilience Feature2. Fluent JMS Client API3. Robust Api Versioning4. Unified Message Conversion5. Faster and Smarter Testing6. Modern Ecosystem Integration7. Hibernate ORM and JPA Upgrades8. Overhauled HttpHeaders API9. Support for Jackson 3.x10. Null Safety using JSpecify1. …
-
New Features in Jakarta EE 11, with Examples
Table of Contents Jakarta EE 11 is a major update in the enterprise Java world. It offers key changes that enhance developer productivity and modernize the platform.Key Features of Jakarta EE 11Jakarta Data: Simplified Data AccessWhat is Jakarta Data?Jakarta Data Code ExamplesUpdated …
-
Agent Long-term Memory with Spring AI & Redis
Table of Contents You’re building an AI agent with memory using Spring AI and Redis. Unlike traditional chatbots that forget previous interactions, memory-enabled agents can recall past conversations and facts. It works by storing two types of memory in Redis: …
-
Spring Cloud Stream: Event-Driven Architecture – Part 1
Table of Contents The Role of MessageBrokersFrameworks or Binder ImplementationsSpring Cloud Stream: The SolutionKey Features:LightWeight Architecture with Spring Cloud StreamTransition to Spring Cloud Stream:ConclusionReferences Envision operating a successful e-commerce platform where every moment is crucial. Customers make purchases, adjust inventory …
-
🚀 Document Your Spring Boot APIs with Redocusaurus in Minutes 🦕
Document Your Spring Boot APIs with Redocusaurus in Minutes
-
Save Time and Money by Reducing False Positives
Table of Contents The Production Scanning ChallengeHow AVD Architecture WorksDeployment Tagging and ReportingReducing False Positives Through Production ScanningClass-Level Precision for Maximum Efficiency Recently Azul announced that AVD (Azul Vulnerability Detection), which is our solution to scan for security vulnerabilities in …
-
Spring Boot + Kafka Streams: Event Routing & Testing
Learn how to do Kafka Stream with Spring Boot! 🍃 With a city tour visits system…