liveBook · Manning

Proxy

A proxy is an intermediary that represents another object or system and mediates interactions with it by forwarding, controlling, or transforming them.

How 6 Manning books explain it

Effective Platform Engineering

A proxy server is an intermediary that forwards, filters, modifies, or manages network traffic between applications or services.

How it is used
Provides an application-independent integration point for managing communication between services in a service mesh.
How deep it goes
Defines traffic handling and compares Kubernetes deployment placements, but does not detail proxy configuration syntax.
Examples
Illustrates token validation, connection retries, and encryption between proxies.
What you can do after
Evaluate/understand proxy placement against service-specific policy, isolation, and observability needs.

Read how Effective Platform Engineering explains proxy →

The Joy of JavaScript

A Proxy is a JavaScript object that wraps a target object and intercepts fundamental operations on it through handler traps.

How it is used
Applies dynamic weaving to add logging, tracing, caching, masking, instrumentation, and smart-object behavior without changing application implementations.
How deep it goes
Explains targets, handlers, get, set, and has traps with examples, while stopping short of covering every available trap.
Examples
Demonstrates credential tracing and masking, composed handlers, automatic blockchain block hashing, and revocable validation timing.
What you can do after
Build it from scratch using Proxy handlers and Reflect to inject modular behavior around object access and mutation.

Read how The Joy of JavaScript explains proxy →

Spring Start Here, Second Edition

A proxy object intercepts calls to a target object and can apply additional behavior before delegating to it.

How it is used
Uses proxies to apply aspect logic to Spring method calls and to name components that handle external communication.
How deep it goes
Explains proxy wrapping, interception, aspect execution, and delegation, but stops short of aspect implementation syntax.
Examples
Uses an intercepted Spring method call and an email-sending CommentNotificationProxy.
What you can do after
Understand how Spring routes an aspected method call through a proxy before reaching its target.

Read how Spring Start Here, Second Edition explains proxy →

Java Persistence with Spring Data and Hibernate epub

A proxy is a substitute object that represents another object and defers or controls access to that object's state or behavior.

How it is used
Defers entity and association loading until application code accesses the represented state.
How deep it goes
Explains creation, initialization triggers, generated subclasses, detached-state failures, and entity requirements, while deferring broader fetch-plan treatment.
Examples
Demonstrates Item and User references, seller loading, class inspection, initialization checks, and bid persistence without SELECT statements.
What you can do after
Diagnose lazy-loading behavior, initialize proxies safely, inspect their loaded state, and avoid unnecessary SELECT statements when persisting relationships.

Read how Java Persistence with Spring Data and Hibernate epub explains proxy →

JavaScript in Depth

A JavaScript object that wraps another object and can intercept and customize fundamental operations on it.

How it is used
Intercepts object operations to implement validation, logging, and virtual properties without changing interaction syntax.
How deep it goes
Explains targets, handlers, traps, and transparent reads and writes through a concrete drawer example.
Examples
Uses a drawer target whose contents are validated and whose computed securityLevel property changes after assignment.
What you can do after
Apply via JavaScript's Proxy constructor to intercept property access and assignment with custom handler logic.

Read how JavaScript in Depth explains proxy →

Microservices Patterns, Second Edition

A provider proxy is an intermediary component that invokes a provider service and applies behavior such as resiliency controls or fallback handling.

How it is used
Protects API composition queries from provider failures and latency through proxy-level resiliency controls and fallbacks.
How deep it goes
Specifies proxy controls and cached-data fallback trade-offs, without detailing their implementation.
Examples
Illustrates proxy resiliency in the findOrder() system query and cached-data or hardwired-value fallbacks.
What you can do after
Configure provider proxies with resiliency controls and fallback strategies that trade freshness for availability.

Read how Microservices Patterns, Second Edition explains proxy →

Also covered in

What to know first

Related concepts

Questions about proxy

What is proxy?

A proxy is an intermediary that represents another object or system and mediates interactions with it by forwarding, controlling, or transforming them.

Which Manning books explain proxy?

Effective Platform Engineering, The Joy of JavaScript, Spring Start Here, Second Edition, Java Persistence with Spring Data and Hibernate epub, JavaScript in Depth and Microservices Patterns, Second Edition.

What should I know before learning proxy?

Manning books that teach proxy usually introduce microservice architecture, API gateway, OpenAPI specification and trajectory first.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.