Sign in

Dan Vega

@danvega.dev
1.9K followers 512 following 249 posts

🍃 Spring Developer Advocate @Broadcom ☕️ Java Champion 📹 YouTuber bit.ly/3zJb93b 🎙️ Podcast bit.ly/3Tzi0CO 🤖 ByteSized AI bit.ly/3XYv87j

PostsRepliesMedia
Dan Vega @danvega.dev · 18/07/2026
Spring AI 2.0 moved the tool calling loop into the advisor chain. That means you can hook into it and watch it run. I built a streaming chat where every tool call shows up live as a pill, "Calling getWeatherForecast...", using one small custom advisor. github.com/danvega/tool...
240
Dan Vega @danvega.dev · 01/05/2026
Stop passing null to your Java records. If you're using Spring Data JDBC with a generated id, a static factory method hides the null where it belongs. Same pattern you already use: List.of, Map.of, LocalDate.of. Worth a full video?
140
Dan Vega @danvega.dev · 14/02/2026
You're a single setting away from deploying a team of agents in Claude Code 🤖
050
Dan Vega @danvega.dev · 12/02/2026
My coworker when I say 'that doesn't look right'
100
Dan Vega @danvega.dev · 08/01/2026
🧠 What if you could control how much your AI "thinks" before responding? Playing with Gemini 2.5 Pro's thinking budget in Spring AI. One parameter changes everything.
000
Dan Vega @danvega.dev · 18/11/2025
New Profile Pic
1101
Dan Vega @danvega.dev · 13/11/2025
I'm overwhelmed with so many emotions right now, mostly joy. I'm proud of how far I've pushed myself. If you had told that kid struggling to learn programming 24 years ago that this is how life would turn out, he never would have believed you.
4222
Dan Vega @danvega.dev · 07/11/2025
I use custom slash commands for a variety of tasks. In this one I replaced some custom bash script I wrote that will create the initial markdown with the correct yaml front matter for this new blog post 🤖✨
020
Dan Vega @danvega.dev · 07/11/2025
🚀 MCP (Model Context Protocol) + Java You already know Spring AI lets you build MCP Servers in #Java ✅ But did you know: You can also build MCP Clients! 🎯 Just configure your MCP servers in application.yaml and Spring AI handles the rest 💫
062
Dan Vega @danvega.dev · 07/11/2025
🍩 Spring Boot 4 + Jackson 3 just made client-side @JsonView filtering SO much cleaner! Before: Wrap objects in MappingJacksonValue 😫 Now: Just use .hint() 🎯
181
Dan Vega @danvega.dev · 06/11/2025
Spring Boot 4's dependency tree showing Jackson 3 in action! Notice the new tools.jackson.* packages (Jackson 3 core) alongside com.fasterxml.jackson.annotations:2.20. This isn't a mistake, Jackson 3 deliberately shares annotations with v2 for compatibility 🎯
070
Dan Vega @danvega.dev · 06/11/2025
Spring Boot 4 makes HTTP interface configuration SO much cleaner! 🎯 No more manual proxy factories and boilerplate. Just use ImportHttpServices and you're done. From 5+ lines of config per client → 1 annotation ✨
0102
Dan Vega @danvega.dev · 05/11/2025
🚀 Spring Boot 4 tip: Jackson 3 brings JsonMapper as the preferred way to read JSON! Notice the new import. No more ObjectMapper from com.fasterxml! JsonMapper is now your go-to for JSON operations in modern Spring apps.
0246
Dan Vega @danvega.dev · 05/11/2025
🎉 Spring Framework 7 brings retry capabilities INTO core! No more external spring-retry dependency needed! Reach for the RetryTemplate When you need MORE control than Retryable can give you 💪
0236
Dan Vega @danvega.dev · 31/10/2025
Nice addition to the Spring Initializr 🤩
130
Dan Vega @danvega.dev · 31/10/2025
Spring Boot 4 tip: Collections with nullable elements (List<Nullable String>) help catch NullPointerExceptions at compile-time instead of runtime. No more surprises when processing API responses that might contain null values! 🛡️ #SpringBoot #javabh
082
Dan Vega @danvega.dev · 31/10/2025
Spring Boot 4's null-safety is here! 🎯 @NullMarked (JSpecify + NullAway) makes nullness explicit. No more guessing if findUserByEmail() returns null. IDE catches NPEs at compile-time. Your type signatures finally tell the truth.
1114
Dan Vega @danvega.dev · 08/10/2025
Big things are coming soon 🤩
1194
Dan Vega @danvega.dev · 17/09/2025
As we prepare for the next generation of Spring Boot 4 coming in November it's time to reflect on all of the amazing features that 3.x brought us. What are some of your favorite features?
063
Dan Vega @danvega.dev · 27/08/2025
My YouTube Channel recently crossed 7 Million views which is just mind blowing 🤯 Thank you for your continued support. I have had so many people come up to this week and thank me for my videos and it honestly makes me so happy to hear that.
280
Dan Vega @danvega.dev · 15/08/2025
If you want to learn about my favorite features in Spring Boot 3.x and what's coming in Spring Boot 4 and you're at KCDC join me at 1:00 PM in room 2211
050
Dan Vega @danvega.dev · 16/07/2025
Super pumped to be speaking at KCDC! 🌟 "Building AI-Enabled Spring Applications with Model Context Protocol (MCP)" Ready to show Java devs how to build powerful MCP servers. The future of AI + enterprise development is here! #KCDC2025 #Java #AI #MCP kcdc.info
052
Dan Vega @danvega.dev · 02/04/2025
Running Google's Gemma3 locally with Docker Model Runner and talking to it from Java using Spring AI and the OpenAI compatible API 🤩
131
Dan Vega @danvega.dev · 27/03/2025
Check out the full tutorial on Stream Gatherers 👇 youtu.be/hIbCu1slooE
1100
Dan Vega @danvega.dev · 21/03/2025
With Stream Gatherers (full code not shown) I get a solution that is more readable, reusable, encapsulated and parallel friendly 🥳 🧵 3/4
120
Dan Vega @danvega.dev · 21/03/2025
I could use a map then transform approach which is a little bit cleaner but still not great 🧵 2/4
110
Dan Vega @danvega.dev · 21/03/2025
🔥 JDK 24 - Stream Gatherers I have some blog posts and I want to show 3 recent posts for every category. Before JDK 24 I might have done something like this 🧵 1/4
191
Dan Vega @danvega.dev · 19/03/2025
Going to learn about using GraalVM in production with @alina-yurenko.bsky.social
0121
Dan Vega @danvega.dev · 19/03/2025
Thoughts on learning to code with IDEs: I use them daily and fully support their benefits. However, I worry new programmers might become too dependent on them. True learning comes from trying, failing, and figuring out why something didn't work. Failure is our greatest teacher in coding. 🧵 1/3
120
Dan Vega @danvega.dev · 19/03/2025
Getting ready to watch Mark and Asir talk about Building Intelligent Java Apps 🤖
050
Dan Vega @danvega.dev · 19/03/2025
☕️ What are your favorite features of JDK 24? I have been asking a few people this week at JavaOne and a lot of developers are excited about Stream Gatherers 🔥
471
Dan Vega @danvega.dev · 19/03/2025
It was really great to see @adambien.blog present at JavaOne.Great mix of knowledge and humor as he shared "Real World Lean Java practices, patterns, hacks and workarounds".
061
Dan Vega @danvega.dev · 19/03/2025
Just hanging out with Duke!
050
Dan Vega @danvega.dev · 25/11/2024
I used to put all my secret keys in .zshrc but then I found myself wanting to share my configuration on screencasts so I decided to move them to their own file so I wouldn't accidently expose them. Line 131 pulls in another file 🤫
1182
Dan Vega @danvega.dev · 25/11/2024
If you're working with Spring for GraphQL in #Java make sure you install this plugin for IntelliJ IDEA. You get some really nice features with it 🤩
0163
Dan Vega @danvega.dev · 19/11/2024
So excited to announce that I have been selected to join so many talented speakers at next years @JavaOne conference 😍
2220
Dan Vega @danvega.dev · 14/11/2024
I have a Raycast extension working that will use the Spring Initalizr to generate a new Spring Boot Application 🥳
180
Dan Vega @danvega.dev · 14/11/2024
I have some images that load on my home page from an API call. I added a skeleton loader so you get this nice placeholder with an animation while that call is being made. Pretty Cool 😎
030
Dan Vega @danvega.dev · 14/11/2024
AI Image generation is getting pretty crazy 🤯
020