WebObjects/Web Applications/Development/WO Adaptor
Overview
editThe WOAdaptor layer of WebObjects can be thought of as a broker of requests and responses. Its role in the framework is to:
- Receive incoming requests of some type (typically HTTP)
- It checks for the configuration file where(host) the requset should be send
- opens TCP/IP socket for destination host
- Package them into a WORequest
- Dispatch the WORequest to the WOApplication
- Receive the WOResponse back from the WOApplication
- Send the response back across whatever protocol the adaptor handles
In most cases, you will be dealing with WODefaultAdaptor, which is provides support for HTTP. However, adaptors could receive requests from any number of sources. As an example, Project WOnder includes ERIMAdaptor, which provides support for requests and responses over Instant Messaging networks.