Mahmoud Zain
banner
mahmoudzain.bsky.social
Mahmoud Zain
@mahmoudzain.bsky.social
Backend Engineer | Java & Spring Boot | Linux | PostgreSQL | Clean Architecture | REST APIs
Reposted by Mahmoud Zain
🚀 Spring AI 1.1.0 GA Released

🔧 Better MCP Integration ... 🔐MCP OAuth2 server protection 🔄 Recursive Advisors ...📦 Developer Experience: ... Over 850+ commits
Kudos to the entire Spring AI community! 🙌

Find more: spring.io/blog/2025/11...
@spring-ai.bsky.social
November 13, 2025 at 8:01 AM
Reposted by Mahmoud Zain
🚀 Spring AI team is excited to announce Spring AI Agents & Spring AI Bench:
- Spring AI Agents: a consistent interface for invoking autonomous CLI-based agents.
- Spring AI Bench: open benchmarking suite for Java-centric AI developer agents.
spring.io/blog/2025/10...
Introducing Spring AI Agents and Spring AI Bench
Level up your Java code and explore what Spring can do for you.
spring.io
October 29, 2025 at 12:30 PM
Reposted by Mahmoud Zain
Exciting News! Spring Authorization Server is moving to #SpringSecurity 7.0

spring.io/blog/2025/09...
Spring Authorization Server moving to Spring Security 7.0
Level up your Java code and explore what Spring can do for you.
spring.io
September 11, 2025 at 5:11 PM
Reposted by Mahmoud Zain
🚨 Mastering Spring AI : 09 - Extend LLMs Capabilities using Tool Calling

youtu.be/LJCnpsdhPlQ

In this video learn:
► How to provide real time data to LLMs
► How to take actions using available tools

#java #SpringBoot #SpringAI
Spring AI Tutorial : 09 - Extend LLMs Capabilities using Tool Calling
YouTube video by SivaLabs
youtu.be
August 28, 2025 at 4:26 AM
Reposted by Mahmoud Zain
🔖Ultimate Guide to DTOs

@asm0dey.site and I put our heads together and crafted a hands-on guide to using DTOs with #SpringBoot, read: records as DTOs, manual mappers, mappers with MapStruct, JPA Entity Graphs, Projections, and DTO alternatives ->
bell-sw.com/blog/ultimat...
How to use DTOs with Spring Boot: Step-by-step tutorial
Learn about implementing a DTO pattern in Spring Boot with Java records. Master manual and automated mapping, projections, and other ways of retrieving data from the db
bell-sw.com
August 26, 2025 at 4:51 PM
Reposted by Mahmoud Zain
Did you know PostgreSQL has built-in enum types?
I use them in all my business applications with jOOQ.
jOOQ automatically creates a matching Java enum, so you get compile-time checks and IDE support.
www.postgresql.org/docs/current...
8.7. Enumerated Types
8.7. Enumerated Types # 8.7.1. Declaration of Enumerated Types 8.7.2. Ordering 8.7.3. Type Safety 8.7.4. Implementation Details Enumerated (enum) types are …
www.postgresql.org
August 12, 2025 at 1:47 PM
Reposted by Mahmoud Zain
🚀 After 18 months of deep diving into AI, I've poured everything into my most comprehensive course yet: "AI for Java Developers"

Ready to level up? 🔥

Watch the full course: youtu.be/FzLABAppJfM

#Java #SpringAI #AIForDevelopers #SpringBoot
AI for Java Developers: Full Course / Workshop on Getting Started with Spring AI
YouTube video by Dan Vega
youtu.be
June 27, 2025 at 1:51 AM
Reposted by Mahmoud Zain
👾CyberJAR Episode 4: DTOs in Spring Boot Hands-on

DTOs. Some love ‘em. Some hate ‘em. Most need ‘em.
In this video, I show how to conveniently map Entities to DTOs in #SpringBoot apps with #Java records and the MapStruct library

youtu.be/cZ0duxFoU0w?...
Java DTO Guide: Fix Your API Design with One Simple Pattern
YouTube video by CyberJAR
youtu.be
June 19, 2025 at 6:27 PM
Reposted by Mahmoud Zain
The best way to use the Spring Transactional annotation

vladmihalcea.com/spring-trans...
March 30, 2025 at 8:36 AM
Reposted by Mahmoud Zain
Passkeys in Spring Security? It’s possible – and elegant. At #JRush, @kehrlann.bsky.social (Broadcom) will demo how to build passwordless login with Spring Security 6.4 and biometrics like FaceID or Windows Hello. Come for the insights: jrush.bell-sw.com/episode5
June 11, 2025 at 1:28 PM
Reposted by Mahmoud Zain
Spring Tools 4.31.0 released for @vscode.dev, Eclipse Java IDE 2025-06, Theia IDE - download from spring.io/tools - for more details: github.com/spring-proje...
Tools
Spring Tools is the next generation of Spring tooling for your favorite coding environment. It provides world-class support for developing Spring-based enterprise applications, whether you prefer Ecli...
spring.io
June 11, 2025 at 2:09 PM
Reposted by Mahmoud Zain
December 2024, the @maven.apache.org team decided to migrating from JIRA to GitHub issues.

Phase 1 of the migration completed yesterday. 🥳

Read more about the goals, the current status and the upcoming tasks in my info mail:

lists.apache.org/thread/o5c9j...
lists.apache.org
June 7, 2025 at 3:11 PM
Reposted by Mahmoud Zain
The Spring Data team supercharges Spring AOT optimizations! More details in this blog post by @christophstrobl.bsky.social. spring.io/blog/2025/05...
Spring Data Ahead of Time Repositories
Level up your Java code and explore what Spring can do for you.
spring.io
May 29, 2025 at 5:57 AM
Reposted by Mahmoud Zain
#Java 25 is shaping up to be another BIG release! 🚀 Currently targeted final features:

* simplified main
* flexible constructors
* module imports
* scoped values API
* key derivation function API
* compact object headers
May 22, 2025 at 7:28 AM
Reposted by Mahmoud Zain
#SpringAI supports dynamic tool updates via #MCP! Add, remove & modify tools at runtime without restarting your app or server. Build adaptive AI systems that evolve with your needs.
📘 Blog: spring.io/blog/2025/05...
💻 Code: github.com/spring-proje...
May 4, 2025 at 1:14 PM
Reposted by Mahmoud Zain
PDF Generation in Quarkus: Practical, Performant, and Native
Invoices, reports, or customer records - PDFs aren’t going anywhere. This little tutorial shows you how to generate them the right way…
buff.ly/ryLpQoM
#Java #Quarkus #PDF
April 12, 2025 at 7:20 AM
Reposted by Mahmoud Zain
Check out the end-to-end video and the code:
www.youtube.com/watch?v=Y291...
github.com/aws-samples/...
Building Agents with AWS: Complete Tutorial (Java, Spring AI, Amazon Bedrock & MCP)
YouTube video by AWS Developers
www.youtube.com
April 9, 2025 at 4:59 PM
Reposted by Mahmoud Zain
Here’s some #Maven dependency advice: if your source code imports a class then make sure its provider (the JAR file) is explicitly listed as a dependency.

DO NOT, I repeat, DO NOT rely on the transitive closure of resolved dependencies.

If used, declare it.

You’ll thank me later.
April 8, 2025 at 10:18 AM
Reposted by Mahmoud Zain
MCP Java SDK 0.8.0 is now available!

✨ New session-based server architecture for concurrent connections
🧠 Sampling support for AI model interactions
📦 OSGi metadata generation support
⚠️ Migration guide: shorturl.at/0SzQJ

#MCP #Java #ModelContextProtocol
java-sdk/migration-0.8.0.md at main · modelcontextprotocol/java-sdk
The official Java SDK for Model Context Protocol servers and clients. Maintained in collaboration with Spring AI - modelcontextprotocol/java-sdk
shorturl.at
March 21, 2025 at 6:59 PM
Reposted by Mahmoud Zain
Time to upgrade! Spring Security addresses CVE-2025-22223 and CVE-2025-22228.

Tanzu Spring customers can use hot patches of Spring Boot that includes the fix: 2.7.24.1, 3.0.19.1, 3.1.15.1, or 3.2.13.1.

spring.io/blog/2025/03...
Spring Security 6.3.8 and 6.4.4 are now available
Level up your Java code and explore what Spring can do for you.
spring.io
March 20, 2025 at 7:23 AM
Reposted by Mahmoud Zain
mail.openjdk.org
March 18, 2025 at 1:23 PM
Reposted by Mahmoud Zain
Tomorrow is release day for #OpenJDK #Java 24! In podcast 68, @frankdelporte.be speaks with @hanno.codes and @speakjava.bsky.social about the 24 included JEPs, what we may expect from 25 in September, and much more...

foojay.io/today/foojay...
Foojay Podcast #68: Welcome to OpenJDK (Java) 24
foojay is the place for all OpenJDK Update Release Information. Learn More.
foojay.io
March 17, 2025 at 6:50 AM
Reposted by Mahmoud Zain
AI + Java Developers, This One’s for You! Curious about Spring AI? Want to make your apps smarter without the complexity?

Join @danvega.dev on March 12 to learn:
✅ Spring AI fundamentals
✅ Real-world AI use cases
✅ Seamless AI integration with Spring Boot

It's free to join: bit.ly/4hZEsj2
March 10, 2025 at 1:49 PM
Reposted by Mahmoud Zain
#JUnit 5.12.0 is released!

📎 Output file attachments for tests and containers
📰 Improvements to the Open Test Reporting XML output
🔒 Resource lock definition improvements
🧵 Thread dumps on test timeouts
✨ Numerous enhancements to existing features

junit.org/junit5/docs/...
junit.org
February 21, 2025 at 2:01 PM
Reposted by Mahmoud Zain
Attention Java developers looking for a premium conference experience!

Join us for:
3 days of amazing content, by developers for developers
150+ expert speakers
170+ sessions
Hands-on Lab
Plenty of networking opportunities
And more

7-9 May | buff.ly/4jhd0xV

Video of @alina-yurenko.bsky.social
February 17, 2025 at 12:01 PM