This site will look much better in a browser that supports web standards, but it is accessible to any browser or Internet device.

The Open Source Zone


DWR

Project logo
Project Name DWR
Category Ajax toolkits
Programming Language Javascript
Project Home Page http://getahead.ltd.uk/dwr/
License(s) Apache License 2.0
License URL(s) http://www.apache.org/licenses/
Tags (edit) ajax, exception handling, rpc, xmlhttprequest

DWR is a Java open source library which allows you to write Ajax web sites.

It allows code in a browser to use Java functions running on a web server just as if it was in the browser.

DWR consists of two main parts:

  • A Java Servlet running on the server that processes requests and sends responses back to the browser.
  • JavaScript running in the browser that sends requests and can dynamically update the webpage.

DWR works by dynamically generating Javascript based on Java classes. The code does some Ajax magic to make it feel like the execution is happening on the browser, but in reality the server is executing the code and DWR is marshalling the data back and forwards.

This method of remoting functions from Java to JavaScript gives DWR users a feel much like conventional RPC mechanisms like RMI or SOAP, with the benefit that it runs over the web without requiring web-browser plug-ins.

Edit project.

Report abuse.

Similar Projects (edit)

Reviews

Be the first person to review this project!

User tips

Add a tip.

Related books

Add more books.


Last modified on 2007-09-22 11:14:14.491 (rel. 3).