How to Build a Search Service in Java with MongoDB
Table of Contents PrerequisitesSearch service designSearch service interfaceReturned resultsSearch service implementationGETting the search resultsAggregation pipeline behind the scenes$search in codeField projectionAggregating and respondingTaking it to productionFuture roadmapConclusion We need to code our way from the search box to our search ...
-
Gotta Code ‘Em All: How Java Evolved Beyond Verbosity – Celebrating 30 Years of Pokémon
Table of Contents Java 25 – Compact Source Files and Instance Main Methods (JEP 512)Java 25 – Flexible Constructor Bodies (JEP 513)30 Years of Pokémon. Decades of Java Evolution.LinksLinks Happy 30th Anniversary to Pokémon! 🎉 February 27, 2026 marks exactly …
-
Cipher Downgrade: How a Tomcat Update Could Weaken Your TLS Configuration
Table of Contents What’s the risk?Who is AffectedThe FixHow to VerifyRecommendation A recent update to Apache Tomcat introduced a subtle but significant change to how TLS cipher suites are configured. If your Spring Boot application explicitly configures TLS ciphers, particularly …
-
Watch the Recording: DIY Technical Marketing for Java Developers
The software development industry is more competitive than ever. Being a strong technical expert is essential, but on its own it is often not enough to grow your career or open new opportunities. In this short, practical talk DIY Technical …
-
Ports and Adapters in Java: Keeping Your Core Clean
Table of Contents IntroductionWhy “Clean Core” Still Matters in 2026Hexagonal Architecture Recap Ports: Defining What the Core NeedsThe Domain Model Must Stay IgnorantMongoDB as an Adapter — Not a RepositoryMapping Between Domain and Persistence ModelsTesting: Where the Architecture Pays OffSpring Boot …
-
Optimizing the MongoDB Java Driver: How minor optimizations led to macro gains
Table of Contents Getting the metrics rightHow we measured performance2. Java Virtual Machine (JVM) intrinsics3. Check and check again4. BSON null terminator detection with SWAR5. Avoiding redundant copies and allocations6. String Encoding, removing method indirection and redundant checks Lessons learned Co-authored …
-
Runtime Code Analysis in the Age of Vibe Coding
Table of Contents What Makes This DifferentThe Gap in Java ToolingThe Original ProblemWhy Existing Tools Don’t FitHow I Ended Up Building ThisA Real-World BugHow the Bug AppearedWhy It Was Hard to SpotThe Key Insight: Frequency ≠ Resource ConsumptionHow It WorksInstrumentationThe …
-
DevBcn, the developers’ conference in Barcelona
Hola developers !!!!! The 11th edition of DevBcn, the developer’s conference in Barcelona is coming next June. The perfect place to have great technology talks 🤖, perfect weather 🏖️, amazing food 🥘, and an unforgettable experience 💖. It will be …
-
What 2,000+ Professionals Told Us About the State of Java, AI, Cloud Costs, and the Future of the Java Ecosystem
Table of Contents Java powers AI in production Enterprises are rapidly moving away from Oracle Java Cloud costs are still too high, and Java efficiency is a powerful lever Unused and Dead code and CVE noise are quietly killing DevOps productivity Why this all matters right now Where Azul fits into this future Every year, I look forward to our State of Java Survey & Report because it gives us a view into how organizations are using Java today and where they’re heading next. This year, …
-
Foojay Podcast #90: Highlights of the Java Features Between LTS 21 and 25
Table of Contents YouTubePodcast AppsGuestsContent Every six months, we get a new version of Java. Java 26 is just around the corner and will be released soon. But most companies stick to LTS (Long-Term Support) versions, which are maintained and …
-
MongoDB Sharding: What to Know Before You Shard
Table of Contents Sharding as a horizontal scaling strategyUnderstanding a sharded cluster architectureShardsConfig serversMongosDistributing data in a sharded clusterWhen should you shard a collection?Vertical limits or costLarge datasetsFaster backup and restore timesHigh write or throughput requirementsZonal or regional data requirementsChoosing …