Direct Web Remoting (DWR)
Direct Web Remoting, "DWR", is an open source project led by Joe Walker and sponsored by TIBCO. DWR lets you call methods on server-side Java objects directly from Web pages and Ajax applications using JavaScript. In addition, since the release of DWR 2.0, you can do the opposite--call JavaScript methods in the browser directly from server-side Java. This lets you break through the "request-response" barrier that has dominated the last decade of Web application development and opens up Web application architectures where client and server exist in the same "event cloud" in real-time.
In many ways you can think of DWR as a provider of JavaScript services which in many cases can be easier to implement for Web applications than SOAP or XML services (though DWR has excellent support for marshalling XML as well). And with DWR 2.0's "Reverse Ajax" you can provide event-driven services with bi-directional asynchronous flows of events and messages between client and server.
Discussion
- TIBCO hosts a discussion forum dedicated to using TIBCO GI and DWR together. For DWR only topics, visit directwebremoting.org.
Example Apps using DWR and TIBCO General Interface
-
Typical Request/Response Cycle

Streaming Data using "Reverse Ajax" Comet
Call Center with Real-Time Call Queue
- Checkout the live examples above then let Joe guide you through how these work via this article at theserverside.com or the screencasts below.
Download The Source
- Source for these examples can be found in the latest builds of DWR here.
Screencasts
DWR lead developer Joe Walker and General Interface co-founder Kevin Hakman guide you through using DWR and TIBCO General Interface together and show how the demos above were created.
-
How does DWR fit into TIBCO's overall vision for service-oriented and event driven applications?

Overview of DWR and DWR 2.0's "Reverse Ajax"
DWR 1.0 < > TIBCO General Interface
DWR 2.0 < > OpenAjax Hub < > TIBCO General Interface
DWR 2.0 < > TIBCO General Interface
