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

Example Apps using DWR and TIBCO General Interface

Download The Source

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.

DWR concept diagram