This is the main servlet that handles all the requests to DWR.
It is on the large side because it can't use technologies like JSPs etc
since it all needs to be deployed in a single jar file, and while it might be
possible to integrate Velocity or similar I think simplicity is more
important, and there are only 2 real pages both script heavy in this servlet
anyway.
There are 5 things to do, in the order that you come across them:
- The index test page that points at the classes
- The class test page that lets you execute methods
- The interface javascript that uses the engine to send requests
- The engine javascript to form the iframe request and process replies
- The exec 'page' that executes the method and returns data to the iframe
author: Joe Walker [joe at getahead dot ltd dot uk] |