Connection
- Encapsulates a connection to the page's originating domain
- Cross-browser Wrapper for XmlHttpRequest (XHR)
- Requests are asynchronous with success and failure callbacks
- Supports JSON, XML and file uploads out of the box
- This is the preferred way to create custom Ajax implementations - (to integrate with technologies such as DWR, JSON-RPC, and XML-RPC)