Proxy
A proxy is an intermediary that represents another object or system and mediates interactions with it by forwarding, controlling, or transforming them.
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.
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.
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.
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.
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
- Automating API Delivery
- Apache Kafka in Action
- Amazon Web Services in Action, Third Edition: An in-depth guide to AWS
- Google Anthos in Action
- Kafka for Architects
- AI Agents in Action
- GitHub Actions in Action: Continuous integration and delivery for DevOps
What to know first
- microservice architectureMicroservice architecture is a software architectural style that structures an application as independently deployable services, typically organized around focused capabilities and communicating through defined interfaces.
- API gatewayAn API gateway is a server-side intermediary that provides an entry point for client requests to backend APIs or services and routes or mediates those requests.
- OpenAPI specificationThe OpenAPI Specification is a machine-readable standard for describing HTTP APIs, including their operations, inputs, outputs, data structures, and security requirements.
- trajectoryA trajectory is an ordered record of states, actions, events, or operations showing how an agent or system progresses through an execution or process.
Related concepts
- network isolationused by · Network isolation is the restriction or separation of network communication so that systems or processes can communicate only across permitted paths or boundaries.
- Spring Data JPAproduced by · Spring Data JPA is a Spring Data module that provides repository abstractions and query support for data access through JPA implementations.
- trapuses · A JavaScript Proxy trap is a handler function that intercepts a specific operation performed through the proxy.
- backenduses · A backend is a software component or system that provides underlying processing, data, execution, or service functionality to other components.
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.





