DWR Glossary

Like any software project DWR has it's fair share of jargon, which can appear confusing. Jargon does help to speed up conversations so it is useful. To help you get into the jargon we've prepared a glossary.

Term Description
Asynchronous Scripts The output of the Javascript Proxy API, that is sent to the browser using Reverse Ajax.
Comet Comet is long-lived HTTP connections used to reduce the latency with which messages are passed to the server.
JavaScript Proxy API DWR can dynamically generate JavaScript from a Java API. Because this is done at runtime, we can use it to remote control many browsers. This makes writing things like chat applications, or anything particularly dynamic, very easy. Messages are sent to clients using Reverse Ajax.
Polling If Comet connections are not available, DWR polls the server to check for Reverse Ajax updates.
Piggyback If Polling and Comet are turned off, DWR gets asynchronous scripts through by holding them until the browser contacts us next time, and then sneaking the script in with the normal response.
Reverse Ajax DWR supports 3 ways to asynchronously transfer messages from the server to the browser: Comet, Polling and Piggyback. Of these Comet and Polling are active (fast but require extra network traffic) and Piggyback is passive (slower but doesn't need extra network traffic). DWR automatically selects the best method transparently to the programmer.