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 …
-
Leading the Way: Payara Platform Community 7 Beta Now Fully Jakarta EE 11 Certified
Table of Contents Why Jakarta EE 11 Certification Matters for Payara UsersNot a Payara Platform Community User? No Problem!Jakarta EE 11: The Future of Enterprise JavaJakarta EE 11 Certification AvailabilityPayara’s Role in the CommunityWhat’s Next We’re excited to announce that …
-
Beyond Keywords: Optimizing Vector Search With Filters and Caching (Part 2)
Table of Contents Adding filters: From story to codeFirst try: Add a post-filter in MovieServiceSecond try: Use a pre-filterRefining the search with extra filtersApplying toCriteria() in the searchReducing embedding costs with cachingStrategy with @CacheableA minimal frontendStep 1: HTMLStep 2: JavaScriptStep …
-
Beyond Keywords: Implementing Semantic Search in Java With Spring Data (Part 1)
Table of Contents The magic behind vector searchPrerequisitesEmbeddings with Voyage AIPreparing the datasetMongoDB Atlas Vector Search (index and retrieval)Building the movie search appConfiguring the applicationThe document modelWire the request DTOCommunicating with Voyage AIThe EmbeddingServiceQuerying with Spring Data Vector Search operationThe …
-
7 Habits of Highly Effective Java Coding
Table of Contents From AI User to AI Pro1. The Golden Rule: Take Pride and Ownership in Your Craft 🥇2. Feed the Beast: Your Project’s Context is its Fuel ⛽3. Dodge the “Ball of Mud”: Keep Your Code Maintainable 🧠4. …
-
JC-AI Newsletter #7
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. Beyond focused tutorials that can enhance your understanding of AI applications, this newsletter concentrates on …
-
Take the State of Java 2025 Survey
Do you want to know which Java JDK distribution is used where for what and when? The time has come again to take the State of Java Survey and share insights while gaining Java ecosystem knowledge. All those participating will …