Table of Contents What you’ll learnWhat is the Service Layer pattern?Why use a service layer?How the Service Layer fits with MVCTraditional MVCMVC + Service LayerA real example: User management serviceThe scenarioStep 1: The domain modelStep 2: The repository interfaceStep 3: …
-
Foojay Podcast #82: OpenJDK Projects (Leyden, Babylon, Panama) and TornadoVM
Table of Contents Podcast AppsContent In this Foojay Podcast, we’re diving deep into some of the most exciting developments happening within the OpenJDK and TornadoVM projects. At the Devoxx and JFall conferences, we spoke with several speakers and visitors about …
-
Micrometer & Prometheus in Spring Boot: Kafka Burger Orders🍔📨
Learn Micrometer and Prometheus in Spring Boot by building a Kafka Burger Orders app that emits metrics. Step-by-step guide with code and takeaways.
-
Beyond Keywords: Hybrid Search with Atlas And Vector Search (Part 3)
Table of Contents One search might not be enoughMerging the best of both worldsPrerequisitesThe vector searchThe full-text searchImplementing the full-text indexExecuting a basic text queryImproving the experience with fuzzy searchRefining results with score boostingCombining forces with hybrid searchThe $rankFusionHow to …
-
JC-AI Newsletter #9
Fourteen days have passed, and it is time to present a fresh collection of readings that could influence developments in the field of artificial intelligence. This newsletter focuses on examining how AI enhances productivity through enterprise studies, tutorial, agentic system …
-
Your New AI-Powered Coding Buddy: A Guide to SonarQube MCP Server on IntelliJ 🤖
Table of Contents A Day in the Life of a Java Developer ☕Getting Started: Accessing the MCP Server from IntelliJ 🛠️Supercharge Your Daily Tasks with SonarQube MCP Server ⚡Conclusion: Your MCP for Supercharged Code ✅Resources 📚 Hey Java devs! 👋 …
-
Modeling Relationships With Hibernate ORM and MongoDB
Table of Contents PrerequisitesOne-to-many relationshipApproach 1: Embedding reviews inside booksApproach 2: Moving reviews to a separate collectionApproach 3: Bringing back recent reviews (Subset Pattern)Implementing the Subset PatternTesting the featureWrapping up In the previous article—Getting Started With Hibernate ORM and MongoDB—we …
-
Getting Started With Hibernate ORM and MongoDB
Table of Contents How MongoDB fits inPrerequisitesTag your Atlas clusterProject overviewSetting up the projectConfigure HibernateThe Book entityCreating the SessionFactoryImplementing the Book serviceRunning the applicationCurrent limitations (Public Preview)Wrapping up For years, Hibernate ORM has been one of the most popular frameworks …
-
Hey Java Devs, Let’s Talk About AI MCP! 🤖
Table of Contents Hey Java Devs, Let’s Talk About AI MCP! 🤖So, What’s the Big Deal with MCP?The Problem MCP Is SolvingThe Evolution of AI IntegrationThe Good, the Bad, and the How-ToLet’s Get Our Hands Dirty: Creating an MCP with …
-
JC-AI Newsletter #8
Fourteen days have passed, and it is time to present a fresh collection of readings that could influence developments in the field of artificial intelligence. This newsletter focuses on examining how AI enhances productivity through enterprise studies, agentic system architecture, …
-
Explore Spring Framework 7 Features—API Versioning
Table of Contents What is API versioning?API Versioning In ActionImport the Project into your IntelliJ IDEAAnnotation-Based Approach In my previous article, I outlined a comprehensive list of features introduced in Spring Framework 7 and Spring Boot 4. In this series …