Tagged articles
44 articles
Page 1 of 1
Java Architect Essentials
Java Architect Essentials
Aug 19, 2025 · Backend Development

Mastering Asynchronous Requests in Spring Boot: Callable, WebAsyncTask & DeferredResult

This article explains how Spring Boot supports asynchronous request handling using Servlet 3.0 features, detailing four implementation approaches—Callable, WebAsyncTask, DeferredResult, and thread‑pool configuration—while outlining when async processing improves throughput and how to apply it effectively.

AsyncBackendCallable
0 likes · 10 min read
Mastering Asynchronous Requests in Spring Boot: Callable, WebAsyncTask & DeferredResult
Architect
Architect
Jul 4, 2025 · Backend Development

Async Requests in Spring Boot: Callable, WebAsyncTask & DeferredResult

This article explains how Spring Boot supports asynchronous request processing, comparing pre‑Servlet 3.0 synchronous handling with post‑Servlet 3.0 async features, and demonstrates four implementation approaches—Callable, WebAsyncTask, DeferredResult, and thread‑pool configuration—while outlining when asynchronous requests improve throughput and how to manage their lifecycle.

AsynchronousCallableDeferredResult
0 likes · 10 min read
Async Requests in Spring Boot: Callable, WebAsyncTask & DeferredResult
Architect
Architect
Jun 3, 2025 · Backend Development

Implementing Asynchronous Requests in Spring Boot: Callable, WebAsyncTask, and DeferredResult

This article explains how Spring Boot supports asynchronous request handling after Servlet 3.0, compares four async mechanisms—AsyncContext, Callable, WebAsyncTask, and DeferredResult—provides code examples for each, discusses thread‑pool configuration, and outlines when asynchronous processing improves throughput.

AsynchronousCallableDeferredResult
0 likes · 11 min read
Implementing Asynchronous Requests in Spring Boot: Callable, WebAsyncTask, and DeferredResult
Top Architecture Tech Stack
Top Architecture Tech Stack
May 26, 2025 · Backend Development

Implementing Asynchronous Requests in Spring Boot: Callable, WebAsyncTask, and DeferredResult

This article explains how to implement asynchronous request handling in Spring Boot using four approaches—AsyncContext, Callable, WebAsyncTask, and DeferredResult—detailing their mechanisms, code examples, thread pool configuration, and when to choose async processing to improve throughput.

AsynchronousCallableDeferredResult
0 likes · 10 min read
Implementing Asynchronous Requests in Spring Boot: Callable, WebAsyncTask, and DeferredResult
php Courses
php Courses
Mar 18, 2025 · Backend Development

Using PHP is_callable() to Verify Callable Functions and Methods

This article explains PHP's is_callable() function, its single‑ and two‑argument usage, and demonstrates with code examples how to check whether a function like add() or a class method such as Math::multiply() is callable before invoking it.

CallableTutorialfunction
0 likes · 3 min read
Using PHP is_callable() to Verify Callable Functions and Methods
macrozheng
macrozheng
Feb 6, 2025 · Backend Development

Mastering Java Async: Future, Callable, CompletableFuture, and FutureTask Explained

This article explores four Java asynchronous programming approaches—Future with Callable, CompletableFuture, and FutureTask—detailing their principles, usage patterns, code examples, and how to retrieve results from thread pools, helping developers improve performance for tasks like aggregating order and fee summaries.

CallableCompletableFutureFuture
0 likes · 12 min read
Mastering Java Async: Future, Callable, CompletableFuture, and FutureTask Explained
php Courses
php Courses
Dec 11, 2024 · Backend Development

Using PHP’s is_callable() Function to Check Callable Functions and Methods

This article explains PHP’s is_callable() function, detailing its purpose, parameter options, and how to use it to verify whether functions or class methods are callable, accompanied by clear code examples demonstrating checks on a simple function and a class method.

BackendCallableTutorial
0 likes · 4 min read
Using PHP’s is_callable() Function to Check Callable Functions and Methods
Top Architecture Tech Stack
Top Architecture Tech Stack
Nov 11, 2024 · Backend Development

Implementing Asynchronous Requests in Spring Boot: Callable, WebAsyncTask, and DeferredResult

This article explains how Spring Boot supports asynchronous request handling after Servlet 3.0, demonstrates three practical approaches—Callable, WebAsyncTask, and DeferredResult—with code examples, shows how to configure a custom thread pool, and discusses when asynchronous processing improves throughput.

CallableDeferredResultSpring Boot
0 likes · 10 min read
Implementing Asynchronous Requests in Spring Boot: Callable, WebAsyncTask, and DeferredResult
Architect
Architect
Oct 9, 2024 · Backend Development

Unlocking Higher Throughput: Mastering Async Requests in Spring Boot

This article explains how Spring Boot can handle HTTP requests asynchronously using Callable, WebAsyncTask, and DeferredResult, detailing the underlying servlet workflow, thread‑pool configuration, and when asynchronous processing truly improves throughput versus CPU‑bound workloads.

AsyncCallableDeferredResult
0 likes · 12 min read
Unlocking Higher Throughput: Mastering Async Requests in Spring Boot
Architecture Digest
Architecture Digest
Sep 15, 2024 · Backend Development

Implementing Asynchronous Requests in Spring Boot: Callable, WebAsyncTask, and DeferredResult

This article explains how to implement asynchronous request handling in Spring Boot using four approaches—AsyncContext, Callable, WebAsyncTask, and DeferredResult—detailing their mechanisms, code examples, thread pool configuration, and when to apply asynchronous processing to improve throughput.

CallableDeferredResultSpring Boot
0 likes · 10 min read
Implementing Asynchronous Requests in Spring Boot: Callable, WebAsyncTask, and DeferredResult
Code Ape Tech Column
Code Ape Tech Column
Sep 9, 2024 · Backend Development

Implementing Asynchronous Requests in Spring Boot: Callable, WebAsyncTask, and DeferredResult

This article explains how Spring Boot supports asynchronous request processing using Servlet 3.0 features and four approaches—AsyncContext, Callable, WebAsyncTask, and DeferredResult—provides code examples, thread‑pool configuration, and guidance on when to apply async handling to improve throughput.

AsynchronousCallableDeferredResult
0 likes · 9 min read
Implementing Asynchronous Requests in Spring Boot: Callable, WebAsyncTask, and DeferredResult
Java Tech Enthusiast
Java Tech Enthusiast
Feb 28, 2024 · Backend Development

Understanding Java Processes, Threads, and Thread Creation Techniques

The article clarifies Java processes and threads using a game analogy, then demonstrates three thread‑creation techniques—extending Thread, implementing Runnable, and implementing Callable with FutureTask—while covering run vs start, thread control methods such as sleep, join, and daemon settings.

CallableJavaRunnable
0 likes · 9 min read
Understanding Java Processes, Threads, and Thread Creation Techniques
IT Services Circle
IT Services Circle
Dec 23, 2023 · Fundamentals

Java Multithreading: Processes, Threads, Creation Methods, and Common Controls

This article explains the fundamental concepts of processes and threads, uses a gaming analogy to illustrate their relationship, and details three ways to create threads in Java—extending Thread, implementing Runnable, and implementing Callable—along with common thread control methods such as sleep, join, and setDaemon.

CallableJavaRunnable
0 likes · 9 min read
Java Multithreading: Processes, Threads, Creation Methods, and Common Controls
php Courses
php Courses
Nov 30, 2023 · Backend Development

Using PHP's is_callable() to Check Callable Functions and Methods

This article explains PHP's is_callable() function, describing its purpose, parameter options, and how to use it to verify the callability of functions and class methods, accompanied by clear code examples and a discussion of its benefits for robust, maintainable code.

BackendCallablePHP
0 likes · 5 min read
Using PHP's is_callable() to Check Callable Functions and Methods
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Oct 20, 2023 · Backend Development

Mastering Asynchronous APIs in Spring Boot 2.7: Boost Concurrency and Performance

This guide explains why asynchronous request interfaces are essential for high‑concurrency Spring Boot applications, outlines their advantages and typical use cases, and provides step‑by‑step code examples for DeferredResult, Callable, ResponseBodyEmitter, StreamingResponseBody, and reactive Mono implementations.

Asynchronous APIBackend DevelopmentCallable
0 likes · 13 min read
Mastering Asynchronous APIs in Spring Boot 2.7: Boost Concurrency and Performance
IT Services Circle
IT Services Circle
Apr 27, 2023 · Fundamentals

Understanding std::function and std::invoke in C++

This article explains the differences between std::function and std::invoke in C++, shows how std::function can wrap callable objects such as function pointers, and demonstrates using std::invoke to call various callable types—including free functions and member functions—through clear code examples.

CCallablestd::function
0 likes · 3 min read
Understanding std::function and std::invoke in C++
转转QA
转转QA
Mar 9, 2023 · Backend Development

Asynchronous Processing in Servlet 3.0 and Spring MVC: Implementation Methods and Practical Applications

This article explains why and how to use asynchronous processing in Servlet 3.0 and Spring MVC, compares four implementation approaches (no return value, Callable, WebAsyncTask, DeferredResult), provides detailed code examples, and demonstrates a real‑world use case for decoupling long‑running tasks.

CallableDeferredResultServlet 3.0
0 likes · 22 min read
Asynchronous Processing in Servlet 3.0 and Spring MVC: Implementation Methods and Practical Applications
The Dominant Programmer
The Dominant Programmer
Nov 1, 2022 · Fundamentals

Master Java Multithreading and Custom Thread Pools in One Guide

This article explains why creating threads repeatedly wastes resources, introduces Java's ExecutorService thread pool, details its configuration parameters, demonstrates how to create and use fixed thread pools with Runnable and Callable tasks, shows proper shutdown, and highlights common pitfalls with Future.get.

CallableExecutorServiceFuture
0 likes · 9 min read
Master Java Multithreading and Custom Thread Pools in One Guide
Cognitive Technology Team
Cognitive Technology Team
Apr 25, 2022 · Backend Development

Preventing ThreadLocal Information Loss in Multithreaded Java Applications by Implementing Custom Runnable and Callable (Hystrix Example)

This article explains why ThreadLocal variables can lose their values when used across thread pools, and demonstrates how to create custom Runnable and Callable wrappers that propagate HystrixRequestContext to ensure reliable ThreadLocal transmission in multithreaded Java environments.

CallableContextPropagationHystrix
0 likes · 8 min read
Preventing ThreadLocal Information Loss in Multithreaded Java Applications by Implementing Custom Runnable and Callable (Hystrix Example)
Selected Java Interview Questions
Selected Java Interview Questions
Apr 23, 2022 · Backend Development

Understanding ThreadPoolExecutor in Java: States, Constructors, Parameters, and Usage

This article provides a comprehensive guide to Java's ThreadPoolExecutor, covering its lifecycle states, constructor arguments, work‑queue options, keep‑alive behavior, thread factories, rejection policies, common methods, and practical code examples for Callable, Runnable, Future and FutureTask.

CallableExecutorServiceFuture
0 likes · 20 min read
Understanding ThreadPoolExecutor in Java: States, Constructors, Parameters, and Usage
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 25, 2021 · Backend Development

Three Ways to Create Threads in Java: Extending Thread, Implementing Runnable, and Using Callable

Through a whimsical first‑person narrative, the article explains three Java thread‑creation techniques—extending Thread, implementing Runnable (including anonymous and lambda forms), and using Callable with FutureTask—to illustrate their syntax, usage, and the ability to retrieve thread results.

Backend DevelopmentCallableJava
0 likes · 7 min read
Three Ways to Create Threads in Java: Extending Thread, Implementing Runnable, and Using Callable
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Aug 7, 2020 · Backend Development

Understanding Callable, ExecutorService, and Future in Java

This article explains how Java's Callable interface, ExecutorService, and Future work together to execute asynchronous tasks, detailing their API relationships, internal implementations, and practical usage examples with code snippets illustrating task creation, submission, and result retrieval.

CallableExecutorServiceFuture
0 likes · 14 min read
Understanding Callable, ExecutorService, and Future in Java
Programmer DD
Programmer DD
Jul 18, 2020 · Fundamentals

Master Java Concurrency: Callable, Future & FutureTask Explained

This article explores Java's thread creation methods, contrasts Runnable and Callable, delves into the ExecutorService API, and provides an in‑depth analysis of Future, FutureTask, and their internal state management, complete with practical code examples and performance‑optimizing techniques for concurrent programming.

CallableFutureJava
0 likes · 23 min read
Master Java Concurrency: Callable, Future & FutureTask Explained
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Jul 6, 2020 · Backend Development

Analyzing JDK 1.8 FutureTask Source Code

This article provides a detailed analysis of JDK 1.8’s FutureTask implementation, explaining its purpose, usage examples, internal structure, state transitions, key methods such as run, get, cancel, and the concurrency mechanisms like volatile fields, CAS operations, and thread‑waiting queues.

CallableFutureFutureTask
0 likes · 32 min read
Analyzing JDK 1.8 FutureTask Source Code
Selected Java Interview Questions
Selected Java Interview Questions
Jun 25, 2020 · Fundamentals

Java Multithreading and Concurrency Basics: Threads, Synchronization, Thread Pools, and Common Pitfalls

This article introduces the fundamentals of Java multithreading and concurrency, covering the differences between processes and threads, the relationship between Thread and Runnable, start vs run, thread creation methods, handling return values, thread states, sleep vs wait, notify vs notifyAll, yield, interrupt, and the use of thread pools with executors.

CallableJavaThread
0 likes · 21 min read
Java Multithreading and Concurrency Basics: Threads, Synchronization, Thread Pools, and Common Pitfalls
Selected Java Interview Questions
Selected Java Interview Questions
May 3, 2020 · Backend Development

Three Ways to Create Threads in Java: Extending Thread, Implementing Runnable, and Using Callable/Future

This article explains the three primary techniques for creating threads in Java—subclassing Thread, implementing the Runnable interface, and using Callable with Future—provides complete code examples for each method, and compares their advantages and disadvantages for practical multithreading development.

CallableFutureJava
0 likes · 8 min read
Three Ways to Create Threads in Java: Extending Thread, Implementing Runnable, and Using Callable/Future
Java Captain
Java Captain
Dec 23, 2019 · Backend Development

Using Asynchronous Requests and Calls in Spring Boot

This article explains how to implement asynchronous requests and asynchronous method calls in Spring Boot, covering servlet‑based async, Callable, WebAsyncTask, DeferredResult, @Async annotation, thread‑pool configuration, common pitfalls, and the differences between async request and async call.

AsynchronousBackend DevelopmentCallable
0 likes · 11 min read
Using Asynchronous Requests and Calls in Spring Boot
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Oct 13, 2019 · Fundamentals

Three Ways to Create Threads in Java: Extending Thread, Implementing Runnable, and Implementing Callable

This article explains three Java thread‑creation techniques—extending the Thread class, implementing the Runnable interface, and implementing the Callable interface—provides complete code examples for each, compares their advantages and disadvantages, and recommends the best practice for concurrent programming.

CallableJavaRunnable
0 likes · 6 min read
Three Ways to Create Threads in Java: Extending Thread, Implementing Runnable, and Implementing Callable
MaGe Linux Operations
MaGe Linux Operations
Apr 6, 2018 · Fundamentals

Unlock Python’s Power: Master Magic Methods for Advanced Object Behavior

This article explains Python’s magic methods—special double‑underscore functions like __init__, __new__, __getattr__, and __call__—showing how they control object construction, attribute access, custom containers, callability, context management, descriptors, and copying, with clear code examples for each feature.

CallableObject-Orientedcontext-manager
0 likes · 15 min read
Unlock Python’s Power: Master Magic Methods for Advanced Object Behavior
Java Captain
Java Captain
Mar 21, 2018 · Backend Development

Java Multithreading: Extending Thread, Implementing Runnable, and Using ExecutorService with Callable and Future

This article explains three primary ways to create multithreaded Java programs—extending Thread, implementing Runnable, and employing ExecutorService with Callable and Future—providing code examples, execution details, and a complete runnable example that demonstrates thread creation, execution, and result retrieval.

CallableExecutorServiceFuture
0 likes · 7 min read
Java Multithreading: Extending Thread, Implementing Runnable, and Using ExecutorService with Callable and Future
Java Captain
Java Captain
Jan 31, 2018 · Backend Development

Understanding Callable and Future in Java Concurrency

This article explains how Java's Callable interface and Future objects work together to produce asynchronous results, compares direct FutureTask usage with ExecutorService submission, and demonstrates handling multiple tasks using CompletionService for efficient multithreaded programming.

CallableExecutorServiceFuture
0 likes · 5 min read
Understanding Callable and Future in Java Concurrency
Java Backend Technology
Java Backend Technology
Nov 6, 2017 · Backend Development

Mastering Java’s Future Pattern: From CountDownLatch to Callable

This article explains Java’s asynchronous call mechanisms, reviews thread counters like CountDownLatch, introduces the Future pattern with its core roles and structure, provides a step‑by‑step code implementation, and shows how the JDK implements Future using Callable and FutureTask.

Backend DevelopmentCallableFuture
0 likes · 8 min read
Mastering Java’s Future Pattern: From CountDownLatch to Callable