[ 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.

DWR development is sponsored by TIBCO. We are working to enhance Ajax in the enterprise, and to integrate DWR with JBI and JMS.

- If you are looking for a User Interface library for DWR that goes beyond dwr.util, then check-out General Interface - an extremely versatile open source UI toolkit.
- For an example of what is possible with GI, check out the X-Ignite sample application.

## Getting started with DWR

For general information about DWR see:

- The main DWR website.
- Joe Walker's blog.

Tutorial style examples in this WAR file:

- Dynamic Text: A very simple documented example that updates a page with some text.
- Resource Forwarding: How to dynamically include the contents of one page in another.
- Editable Table: Another simple documented example that allows the user to edit a table of data.
- Fast Address Entry: A form fill example that helps users enter addresses.
- General Interface: An example of a TIBCO GI matrix component fed by DWR's Reverse Ajax.

Other examples in this WAR file:

- Anti-Spam mailto: Generator: Generate clickable mailto: links without attracting spam.
- Server-Side Clock: A clock that is updated by the server using ReverseAjax. Demonstrates access from a non-http thread.
- Javascript Chat: A simple chat application using DWR with conventional Javascript
- Java Chat: As above except with much reduced Javascript, using server-side script proxies

Current Configuration:

- The generated configuration/test pages.

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.