[ DWR Website ]

# Welcome to DWR

DWR is an Ajax remoting framework for Java to make it easy for web pages to interact with Java classes.

## Inside this Demo

The generated configuration / test pages show how DWR is setup.

Documented examples of how DWR works:

- Getting Started with DWR:

- First steps: Start with updating some simple text and then including one page in another
- More visual: Editable Table allows a user to edit a table of data, or you can search similar data
- Using JSON: DWR supports JSONP and JSON-RPC, see the JSON-RPC version of the simple text demo

- Using Reverse Ajax to broadcast data:

- Server-Side Clock: A clock that is updated by the server using ReverseAjax. Demonstrates access from a non-http thread.
- Chat examples, one with the logic in JavaScript, and the other with logic in Java

- Binary file handling:

- File upload is easy - this example shows image manipulation
- Download is just as easy - this time with custom PDF generation

- Integration with the Dojo Toolkit:

- A table of people that uses the DWR StoreProvider APIs
- The JSON-RPC demo (see above) uses Dojo APIs

- Integration with General Interface:

- A simple static GI matrix loaded with data from DWR
- A reverse ajax example using the OpenAjax Hub
- A call center demo that keeps agents up to date
- A component example manipulated with the GI Reverse Ajax API

DWR is testing installation ...

DWR uses JavaScript to make some initial checks. If you can see this message then either you are a very fast reader, or JavaScript is not working properly in your browser.

Since AJAX requires JavaScript, you will need to enable JavaScript in your browser before you can test DWR. Some very old browsers like IE 4.0 have very out of date support for JavaScript and are currently unsupported. Please upgrade your browser.

DWR is partially working

DWR has received test data from the server, however for some reason this data was mangled. Please report this error to the DWR mailing list, including your browser, server, OS configuration and any error messages that appeared either in the browser (including the JavaScript console if one exists) and the server console log.

Missing DWR JavaScript Functions

This is a fairly advanced page that tests DWR to check that everything is setup properly for you.

It appears that you may be attempting to run DWR outside a servlet container (possibly using a file: URL), or that the servlet engine has failed to load the DWR servlet.

The problem is that this page failed to load resources from DWR. You might try visiting the DWR configuration/test pages to see what happens when you access DWR directly. Pay careful attention to error messages on the app-server console in trying to diagnose what is wrong.

Also there could be an issue with your browser. Try viewing this page in a different browser, particularly try a browser with a JavaScript console. Errors reported in the JavaScript console could help diagnose the problem.

If this is not the cause of the problem, please report it to the DWR mailing list, including your browser, server, OS configuration and any error messages that appeared either in the browser (including the JavaScript console if one exists) and the server console log.

DWR is testing installation ...

This is a fairly advanced page that tests DWR. If you can see this message for a prolonged period of time then you should check the following:

- Can you see the test pages?
  If not it is likely that DWR has not deployed in your web server properly; Check the web server console and log files for error messages.
- If you can see the test pages then DWR is loaded but is something is preventing DWR working. Check your browser JavaScript console for error messages, or see the main DWR website for more information.

If none of these steps fixes the error, please report it to the DWR mailing list, including your browser, server, OS configuration and any error messages that appeared either in the browser (including the JavaScript console if one exists) and the server console log.