Master JSON Serialization in Quarkus — The Right Way This hands-on guide walks through real solutions using Jackson and Quarkus REST. Read the full tutorial here 👇 https://lnkd.in/dWfWBx-T #Java #Quarkus #Jackson #JSON #SoftwareDevelopment #API #BackendEngineering
Markus Eisele’s Post
More Relevant Posts
-
🚀 Building a Thread-Safe Map from a List in Java Ever needed to convert a List into a ConcurrentHashMap for fast lookups and safe concurrent access? Here’s an approach using Java Streams and Collectors.toMap(). 🔹 Key Idea: Transform your list into a map where keys = unique IDs and values = actual objects (Function.identity() style). 🔹 Why it matters: ⚡ Thread-safe lookups for concurrent environments 💡 Declarative one-liner using Java Streams 🧩 Merge function prevents duplicate-key exceptions 🔒 Backed by ConcurrentHashMap for safe updates #Java #SpringBoot #BackendDevelopment #ConcurrentProgramming #CleanCode #JavaStreams #ThreadSafe #CodingBestPractices #SoftwareEngineering #Developers
To view or add a comment, sign in
-
-
Ready to ditch boilerplate and embrace a more expressive, maintainable Java? I recently integrated Records (Java 16) and Sealed Classes (Java 17) into a new microservice, and the clarity and conciseness were instantly noticeable. Records are perfect for modeling simple, immutable data carriers in a single line, eliminating tedious boilerplate code like constructors and getters. Sealed classes give you powerful control over inheritance, allowing you to define a finite, closed set of possible subclasses, which makes your domain modeling robust and easier to reason about, especially when using pattern matching. #Java #ModernJava #Records #SealedClasses #Programming #SoftwareDevelopment #Java17 #CleanCode
To view or add a comment, sign in
-
-
If your Java service were a nightclub, would it survive a Saturday-night traffic spike? 🎶 In this new hands-on tutorial, I explore Quarkus Load Shedding — a built-in mechanism that prevents overloads by strategically rejecting requests and prioritizing the right ones. This is a must-read for Java developers and architects working on high-traffic APIs and microservices. Learn how to implement it, tune it, and keep your systems stable under pressure. Read the full guide: 👉 https://lnkd.in/dYSW9b2D #Quarkus #Java #Microservices #CloudNative #ResilienceEngineering
To view or add a comment, sign in
-
-
Want to learn how to build a GraphQL API in #Java in less than 20 minutes? I got you covered in this talk I gave at SpringOne this year. https://lnkd.in/ewUhQimi
To view or add a comment, sign in
-
🔒 Understanding the final keyword in Java The final keyword adds safety and stability to your code by preventing unwanted changes. It can be used in three main ways: 🧩 With Variables – once assigned, the value can’t be changed. 🧩 With Methods – prevents overriding in subclasses. 🧩 With Classes – stops inheritance altogether. Simple yet powerful — final protects what’s meant to stay constant. #Java #OOPs #finalKeyword #JavaConcepts #CodingBasics #LearnJava
To view or add a comment, sign in
-
-
Ever tried transforming one JSON structure into another without a single Java class? 😅 I’ve been exploring different ways to handle JSON → JSON transformations in Java — specifically transforming one JSON structure into another without generating POJOs or Java classes. I’m curious about approaches that use dynamic rules, mapper based, or lightweight frameworks instead of heavy object models. Has anyone tried something similar or come across open-source libraries or design patterns that help with this kind of transformation? Any pointers or experiences would be super helpful #Java #JSON #SoftwareEngineering #OpenSource #APIDesign
To view or add a comment, sign in
-
🚀 Inheritance (Java) Inheritance is a mechanism where a new class (subclass or derived class) inherits properties and behaviors from an existing class (superclass or base class). It promotes code reusability and establishes an 'is-a' relationship between classes. Subclasses can override methods from the superclass to provide specialized implementations. Inheritance supports the creation of class hierarchies, making the code more organized and maintainable. It's a powerful tool for modeling real-world relationships and reducing code duplication. #Java #JavaDev #OOP #Backend #professional #career #development
To view or add a comment, sign in
-
-
💡 What’s the difference between @RequestParam, @PathVariable, and @RequestBody in Spring Boot? Here's a quick summary with use cases 👇 1️⃣ Use @RequestParam for query params 2️⃣ @PathVariable for resource IDs 3️⃣ @RequestBody for JSON input Clean APIs = happy clients. #springboot #restapi #java
To view or add a comment, sign in
-
⚙️ Bean Lifecycle in Spring Every Spring bean goes through stages like instantiation, dependency injection, initialization, and destruction. Developers can customize these steps using lifecycle annotations such as @PostConstruct and @PreDestroy. Spring automatically manages this entire lifecycle, ensuring optimal resource handling and clean object management. 🔁 #SpringBoot #SpringFramework #Java #SpringBeans #Lifecycle #BackendDevelopment
To view or add a comment, sign in
-
🚀 Java Collections: Iterator vs ListIterator — Traversing the Smart Way Once we store data in a Collection, the next big question is: 👉 How do I access or modify each element efficiently? That’s where Iterator and ListIterator come in! 💡 Quick Tip: ✅ Use Iterator for generic collections. ✅ Use ListIterator when you need more control over a list. 📄 Check out this short PDF guide to visualize both in action 👇 #Java #Collections #ListIterator #Iterator #JavaDeveloper #BackendDevelopment #SpringBoot #CodingTips #DattatrayBharde
To view or add a comment, sign in
More from this author
-
The Main Thread Weekly, CW 13: Testing MCP Servers, Taming Kubernetes, and Making Java Systems Agent-Ready
Markus Eisele 1mo -
The Main Thread Weekly, CW 12 / 2026 - Performance, identity, and shipping real tools
Markus Eisele 1mo -
Platforms, safety nets, and the quiet details that keep systems alive - CW 11
Markus Eisele 1mo
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development
Great topic. JSON serialization can get tricky with Quarkus if annotations or custom mappers aren’t configured right. This guide looks like a must-read for clean API responses.