Ivan Milosavljević's Avatar

Ivan Milosavljević

@thejavaguy.bsky.social

I help Java devs write high quality software by using proper OOP, latest Java features, and the best libraries so they can unlock new career opportunities

37 Followers  |  37 Following  |  127 Posts  |  Joined: 02.11.2024  |  2.2528

Latest posts by thejavaguy.bsky.social on Bluesky

🎉 Watch "Testing Spring Boot Applications Demystified" by Philip Riecks on our YouTube channel ▶️ youtu.be/WW3tAcaiSd0

05.11.2025 10:46 — 👍 0    🔁 0    💬 0    📌 0
Preview
Java User Group München This is the official channel of the Java User Group Munich 🇩🇪. We host tech talks, presentations and workshops for all things Java. Whether you are a seasoned professional, a beginner, or a student we...

📹 Watch previous 19 JUG Munich talks and join 135 other awesome developers on our YouTube channel www.youtube.com/@JavaUserGro...

03.11.2025 21:46 — 👍 0    🔁 0    💬 0    📌 0

All advanced goodies are there - tools, MCP etc.

03.11.2025 21:46 — 👍 0    🔁 0    💬 1    📌 0

You can force LLM to give you structured output by passing a Record with your request. Spring AI will prompt LLM in the background to return proper JSON which satisfies a schema.

03.11.2025 21:46 — 👍 0    🔁 0    💬 1    📌 0

Start slowly and implement basic communication with the model first - system prompt, user message, AI message. Everything else builds on top of it.

03.11.2025 21:46 — 👍 0    🔁 0    💬 1    📌 0

You can leverage existing SpringBoot knowledge. It's configuration and Beans all the way down.

03.11.2025 21:46 — 👍 0    🔁 0    💬 1    📌 0

Spring AI is not a magic, it just unifies (as much as it's reasonable) different APIs of different models. Of course all major LLMs are supported.

03.11.2025 21:46 — 👍 0    🔁 0    💬 1    📌 0
Post image

Another exciting evening at #JUG Munich! @thjanssen123.bsky.social showed us all the goodies of #Spring AI and how we can integrate it into own applications. It's already production-ready with a lot of potential for future growth. My key takeaways 👇

03.11.2025 21:46 — 👍 1    🔁 0    💬 1    📌 1
Post image

#Java peers...

This #Halloween, there are no tricks just treats! Take advantage of many #DevRel programs from Oracle's Java team:
🎃 Java on LinkedIn lnkd.in/ggSDpi45
🎃 Java on YouTube lnkd.in/g5bYYvW5
🎃 Java Newsletter lnkd.in/gTqBHHfX
🎃 Duke's Corner Podcast: lnkd.in/gvKzETp4
🎃 dev.java

31.10.2025 16:43 — 👍 23    🔁 9    💬 0    📌 0

I'm terribly sorry for the wrong information! @thjanssen123.bsky.social is not a Java Champion. It was an honest mistake from my side.

31.10.2025 22:28 — 👍 0    🔁 0    💬 0    📌 0
Preview
Hibernate Tips Book - Thorben Janssen HIBERNATE TIPS More than 70 solutions to common Hibernate problems Get more than 70 ready-to-use recipes for topics like basic and advanced mappings, logging, mapping of custom data types, Hibernate’s...

thorben-janssen.com/hibernate-ti...

31.10.2025 18:46 — 👍 0    🔁 0    💬 0    📌 0

Exclusive for #JUG Munich members - @thjanssen123.bsky.social will give away one copy of his best-selling book "HIBERNATE TIPS - More than 70 solutions to common Hibernate problems"! You just have to ask the most interesting question during his talk and the book is yours!

31.10.2025 18:46 — 👍 0    🔁 0    💬 1    📌 0
Preview
Java User Group München This is the official channel of the Java User Group Munich 🇩🇪. We host tech talks, presentations and workshops for all things Java. Whether you are a seasoned professional, a beginner, or a student we...

Watch previous 19 JUG München talks and join 128 other awesome developers on our YouTube channel ▶️ www.youtube.com/@JavaUserGro...

29.10.2025 15:53 — 👍 0    🔁 0    💬 0    📌 0
Von 0 auf Spring AI, Mon, Nov 3, 2025, 7:00 PM | Meetup Please subscribe to our mailinglist: mailinglist-subscribe@jugm.de Die Sprache des Vortrags folgt der Ankündigungssprache. The language of the lecture follows the announce

📣 Upcoming #Java User Group München talk "Von 0 auf Spring AI" 🕖 on Monday 03.11 at 19:00h, 🏠 Hotel Eden-Wolff, Arnulfstraße 4, 80335 München. Our speaker will be legendary @thjanssen123.bsky.social.

RSVP 👉 www.meetup.com/java-user-gr...

#techtalk #javausergroup #seniordeveloper

29.10.2025 15:53 — 👍 1    🔁 1    💬 2    📌 1

This sounds even worse than everyone or a few people talking normally. At least in those cases ANC headphones are accepted. People whisper and they think nobody hears them while in reality some of us really do.

29.10.2025 09:13 — 👍 14    🔁 0    💬 2    📌 0
Preview
Java User Group München This is the official channel of the Java User Group Munich 🇩🇪. We host tech talks, presentations and workshops for all things Java. Whether you are a seasoned professional, a beginner, or a student we...

Watch previous 19 #JUG Munich talks and join 128 other awesome developers on our YouTube channel ▶️ www.youtube.com/@JavaUserGro...

28.10.2025 12:32 — 👍 0    🔁 0    💬 0    📌 0

Usage of @DirtiesContext is most often a mistake! It will prevent test context caching and slow down your tests significantly.

28.10.2025 12:32 — 👍 0    🔁 0    💬 1    📌 0

For integration tests which need the whole app context use @SpringBootTest. Beware that they're much slower than sliced tests.

28.10.2025 12:32 — 👍 0    🔁 0    💬 1    📌 0

If you need to mock some dependencies (e.g. services when testing controllers) use @MockitoBean. Simple @Mock can't put the bean into Spring's context!

28.10.2025 12:32 — 👍 0    🔁 0    💬 1    📌 0

Spring Boot offers a few flavours of tests which don't start up the whole context but specific slices thereof. Some examples are: @WebMvcTest, @RestClientTest, @DataJpaTest… You'll probably write most tests of these types.

28.10.2025 12:32 — 👍 0    🔁 0    💬 1    📌 0

Tools like JUnit, Mockito, AssertJ (or Hamcrest), JsonAssert are the basics and you should be comfortable using them. Spring Boot specific testing is built on top of those.

28.10.2025 12:32 — 👍 0    🔁 0    💬 1    📌 0
Post image

Excellent overview of Spring Boot Testing principles, tools and best practices by Philip Riecks yesterday in front of #JUG Munich crowd! Years of experience distilled in 90 mins meant a real gift of knowledge in this super important topic for #Java developers.

My key takeaways 👇

28.10.2025 12:32 — 👍 1    🔁 1    💬 1    📌 0

Do you want to learn about state of the art in Spring Boot testing? To win a free eBook? To get 50% discount on the Spring Boot Testing masterclass? Then come at 19h tonight to the JUG Munich talk "Testing Spring Boot Applications Demystified" Hotel Eden-Wolff, Arnulfstraße 4, 80335 München.

27.10.2025 11:00 — 👍 0    🔁 0    💬 0    📌 0

Ebooks are "Stratospheric - From Zero to Production with Spring Boot and AWS" and "30 Testing Tools and Libraries". The course is "Testing Spring Boot Applications Masterclass".

You can find more details on Philip's site

23.10.2025 12:26 — 👍 0    🔁 0    💬 0    📌 0

Exclusively for JUG Munich members, during his talk Philip will give away 2 ebooks and give 50% discount on his testing course! Those valuable gifts will be given to 3 persons which've started the most interesting discussion or asked equally interesting questions.

23.10.2025 12:26 — 👍 0    🔁 0    💬 1    📌 0
Preview
Testing Spring Boot Applications Made Simple Guides, thorough explanations, and best practices on testing Spring Boot applications. Helping developers incorporate testing as a routine rather than a frustrated afterthought.

Visit Philip's website at rieckpil.de and prepare your questions for Monday

22.10.2025 09:48 — 👍 0    🔁 0    💬 0    📌 0
Preview
Java User Group München This is the official channel of the Java User Group Munich 🇩🇪. We host tech talks, presentations and workshops for all things Java. Whether you are a seasoned professional, a beginner, or a student we...

Watch previous 19 JUG München talks and join 120 other awesome developers on our YouTube channel ▶️ www.youtube.com/@JavaUserGro...

22.10.2025 08:00 — 👍 0    🔁 0    💬 1    📌 0
Testing Spring Boot Applications Demystified, Mon, Oct 27, 2025, 7:00 PM | Meetup Please subscribe to our mailinglist: mailinglist-subscribe@jugm.de Philip Riecks Ort: Hotel Eden-Wolff, Arnulfstraße 4, 80335 München Automated testing plays an important

📣 Upcoming #Java User Group München talk "Testing Spring Boot Applications Demystified" 🕖 on Monday 27.10 at 19:00h, 🏠 Hotel Eden-Wolff, Arnulfstraße 4, 80335 München. Our speaker will be Philip Riecks.

RSVP 👉 www.meetup.com/java-user-gr...

#techtalk #javausergroup #seniordeveloper

22.10.2025 08:00 — 👍 1    🔁 1    💬 2    📌 1
Preview
Java User Group München This is the official channel of the Java User Group Munich 🇩🇪. We host tech talks, presentations and workshops for all things Java. Whether you are a seasoned professional, a beginner, or a student we...

While this talk wasn't recorded watch previous 19 #JUG München talks and join 111 other awesome developers on our YouTube channel ▶️ www.youtube.com/@JavaUserGro...

20.10.2025 20:58 — 👍 1    🔁 1    💬 0    📌 0

Always work in a tight loop: generate a class or unit test -> check the result -> improve by adding a new rule or modifying an existing one -> generate etc.

20.10.2025 20:58 — 👍 0    🔁 0    💬 1    📌 0

@thejavaguy is following 20 prominent accounts