Tag

REST

1 views collected around this technical thread.

Top Architecture Tech Stack
Top Architecture Tech Stack
May 20, 2025 · Backend Development

Global Exception Handling in Spring Boot: Techniques and Code Examples

This article explains how to efficiently handle exceptions in Spring Boot applications by using @ControllerAdvice and @ExceptionHandler annotations, providing step-by-step code examples for custom global exception classes, error response structures, and handling specific exceptions such as business, null pointer, and type conversion errors.

AnnotationsExceptionHandlingJava
0 likes · 9 min read
Global Exception Handling in Spring Boot: Techniques and Code Examples
Code Mala Tang
Code Mala Tang
May 4, 2025 · Backend Development

Mastering API Calls in Python: SOAP, REST, and GraphQL Explained

Learn how Python can interact with the three major API types—SOAP, REST, and GraphQL—by understanding their core concepts, differences, and practical code examples using libraries like zeep and requests, empowering you to build robust integrations across diverse services.

APIGraphQLPython
0 likes · 9 min read
Mastering API Calls in Python: SOAP, REST, and GraphQL Explained
Architecture Digest
Architecture Digest
Apr 23, 2025 · Backend Development

Spring Framework 7.0 Native API Versioning Support and Implementation Guide

This article explains the importance of API version control, outlines common versioning strategies, and demonstrates how Spring Framework 7.0 introduces native support with a version attribute on @RequestMapping, custom resolvers, client usage examples, and best‑practice recommendations for managing multi‑version APIs.

API versioningJavaREST
0 likes · 10 min read
Spring Framework 7.0 Native API Versioning Support and Implementation Guide
FunTester
FunTester
Apr 18, 2025 · Backend Development

Using CompletableFuture for Parallel REST Calls in Java

The article explains why serial REST calls cause performance bottlenecks, illustrates the benefits of concurrent requests, and demonstrates how Java 8's CompletableFuture can be used to implement parallel REST calls with robust exception handling, improving throughput and resource utilization.

CompletableFutureJavaParallelism
0 likes · 10 min read
Using CompletableFuture for Parallel REST Calls in Java
Code Ape Tech Column
Code Ape Tech Column
Apr 9, 2025 · Backend Development

Using @JsonView in Spring to Control JSON Serialization of Fields

This article explains how the Jackson @JsonView annotation can be used in Spring back‑end projects to selectively serialize object fields, reduce bandwidth, improve security, and handle nested associations by defining view interfaces and applying them on entity fields and controller methods.

JacksonJavaJsonView
0 likes · 8 min read
Using @JsonView in Spring to Control JSON Serialization of Fields
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 7, 2025 · Backend Development

Mastering @JsonView in Spring Boot 3: Dynamic JSON Serialization Techniques

This article explains how to use Jackson's @JsonView annotation in Spring Boot 3 to flexibly control JSON output for different REST scenarios, covering basic usage, programmatic view selection, view‑based MVC responses, deserialization restrictions, and default‑inclusion configuration with practical code examples.

JacksonJavaJsonView
0 likes · 8 min read
Mastering @JsonView in Spring Boot 3: Dynamic JSON Serialization Techniques
Test Development Learning Exchange
Test Development Learning Exchange
Mar 23, 2025 · Backend Development

Fundamentals and Best Practices of API Testing

This article provides a comprehensive overview of API testing fundamentals, tools, design strategies, defect management, special scenarios, and soft skills, offering practical guidance on how to plan, execute, and optimize tests for REST and SOAP services.

API testingPostmanREST
0 likes · 11 min read
Fundamentals and Best Practices of API Testing
Java Architect Essentials
Java Architect Essentials
Mar 9, 2025 · Backend Development

Building an AI-Powered Chatbot with Spring Boot and DeepSeek

This tutorial demonstrates how to create an AI-driven Spring Boot application by integrating DeepSeek's large language model, covering project setup, dependency configuration, API key management, and implementing a REST controller that provides weather forecasts via a conversational interface.

AIChatbotDeepSeek
0 likes · 8 min read
Building an AI-Powered Chatbot with Spring Boot and DeepSeek
Architecture Digest
Architecture Digest
Mar 9, 2025 · Backend Development

Comparing API Architectural Styles: RPC, SOAP, REST, and GraphQL

This article examines four major API architectural styles—RPC, SOAP, REST, and GraphQL—detailing their mechanisms, advantages, disadvantages, and typical use cases, and provides guidance on selecting the most suitable style based on project requirements and constraints.

APIAPI designGraphQL
0 likes · 17 min read
Comparing API Architectural Styles: RPC, SOAP, REST, and GraphQL
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Jan 13, 2025 · Backend Development

Master Spring Boot 3 API Versioning: 5 Practical Strategies

This article introduces a Spring Boot 3 case collection and details five practical methods—URL path, request parameter, request header, Accept header, and custom annotation—to implement API version control, complete with code examples and guidance for maintaining compatibility across multiple API versions.

API versioningRESTbackend development
0 likes · 8 min read
Master Spring Boot 3 API Versioning: 5 Practical Strategies
Architecture Digest
Architecture Digest
Nov 13, 2024 · Backend Development

Unified Exception Handling in Spring Boot Using @ControllerAdvice, Assert, and Enum-based Error Codes

This article explains how to replace repetitive try‑catch blocks in Java backend development with a unified exception handling approach using Spring's @ControllerAdvice, custom Assert utilities, and enum‑based error codes, providing cleaner code, consistent error responses, and easy internationalization.

AssertException HandlingJava
0 likes · 20 min read
Unified Exception Handling in Spring Boot Using @ControllerAdvice, Assert, and Enum-based Error Codes
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Nov 12, 2024 · Backend Development

Unlock Rapid API Development with Magic‑API: A Spring Boot 3 Practical Guide

This article introduces the Magic‑API framework for Java, explains its extensive features, walks through environment setup, dependency configuration, and demonstrates real‑world use cases such as data source management, pagination, SQL, MyBatis, HTTP calls, Redis integration, and inline Java execution within a Spring Boot 3 project.

API DevelopmentJavaREST
0 likes · 6 min read
Unlock Rapid API Development with Magic‑API: A Spring Boot 3 Practical Guide
Architecture Digest
Architecture Digest
Oct 17, 2024 · Backend Development

Simplifying Backend CRUD with APIJSON: One Interface per Operation

This article explains how APIJSON can replace dozens of traditional SpringBoot controller methods with a single configurable endpoint, demonstrating concise request formats, permission annotations, and example code for creating, reading, updating, deleting, and aggregating data in a Java backend.

APIJSONCRUDJSON
0 likes · 8 min read
Simplifying Backend CRUD with APIJSON: One Interface per Operation
Java Captain
Java Captain
Oct 17, 2024 · Backend Development

Reducing CRUD Boilerplate with APIJSON: One Interface for All Operations

This article explains how APIJSON lets developers replace dozens of SpringBoot CRUD endpoints with a single, configurable interface for GET, POST, PUT, DELETE and HEAD requests, dramatically cutting code lines while supporting complex queries, pagination, joins and role‑based permissions.

APIJSONCRUDJSON
0 likes · 7 min read
Reducing CRUD Boilerplate with APIJSON: One Interface for All Operations
IT Architects Alliance
IT Architects Alliance
Oct 8, 2024 · Backend Development

Comparing GraphQL and REST: Advantages, Trade‑offs, and Future Trends

This article provides an in‑depth comparison of GraphQL and REST API paradigms, outlining their principles, typical request examples, key differences in data fetching, flexibility, documentation, caching, error handling, performance, tooling, and guidance on choosing the appropriate approach for various project scenarios.

API designGraphQLREST
0 likes · 8 min read
Comparing GraphQL and REST: Advantages, Trade‑offs, and Future Trends
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 26, 2024 · Backend Development

Mastering API Versioning in Spring Boot: URI, Header, and Media Type Strategies

This article explains why API versioning is essential for Spring Boot REST services and compares three common approaches—URI versioning, request‑header versioning, and media‑type versioning—while offering guidance on selecting a method and handling API deprecation.

API versioningJavaREST
0 likes · 9 min read
Mastering API Versioning in Spring Boot: URI, Header, and Media Type Strategies
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 16, 2024 · Backend Development

Mastering @RequestMapping in Spring Boot: Real‑World Examples & Tips

This article provides a comprehensive guide to using Spring Boot’s @RequestMapping annotation, covering path definitions, HTTP methods, headers, produces/consumes, path variables, parameters, fallback handling, and advanced options, with practical curl commands and code snippets for each scenario.

JavaRESTRequestMapping
0 likes · 8 min read
Mastering @RequestMapping in Spring Boot: Real‑World Examples & Tips
Java Architect Essentials
Java Architect Essentials
Sep 6, 2024 · Artificial Intelligence

Integrating Tess4J OCR into a Spring Boot Application

This guide explains how to set up a Spring Boot project, add the Tess4J dependency, configure language data, implement an OCR service and REST controller, and test both local file uploads and remote image URLs for text recognition.

Image ProcessingJavaOCR
0 likes · 6 min read
Integrating Tess4J OCR into a Spring Boot Application
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Aug 12, 2024 · Backend Development

Mastering Spring’s @PathVariable: Real‑World Examples and Advanced Tips

This article explains the purpose and usage of Spring MVC’s @PathVariable annotation, covering basic binding, custom names, class‑level variables, multiple parameters, map injection, regex and optional variables, path‑suffix handling, and how to retrieve variables outside controllers, all with clear code examples.

JavaPathVariableREST
0 likes · 7 min read
Mastering Spring’s @PathVariable: Real‑World Examples and Advanced Tips
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Apr 28, 2024 · Backend Development

Mastering SpringBoot @RequestMapping: Advanced Techniques & Custom Annotations

This tutorial explains the basics of SpringBoot's @RequestMapping annotation, its shortcut variants, handling of HEAD and OPTIONS requests, how to create custom request annotations, and demonstrates dynamic handler registration with complete code examples.

AnnotationsJavaREST
0 likes · 7 min read
Mastering SpringBoot @RequestMapping: Advanced Techniques & Custom Annotations