DWR----Documentation

来源:百度文库 编辑:神马文学网 时间:2024/04/29 23:58:17
Getahead
[DWR |DocTree |Blog ]
Home »DWR
Introduction to Ajax and DWR
There is a section ofAjax documentation which includes help in design and debugging.
There are a number of documents to help you get started with DWR. and then theoverview of DWR.
There is a basicgetting started guide which shows how to install DWR and to view your first page. There is then a series ofexamples to demonstrate basic functionality, somehints and tips, and a page oncommon errors and how to fix them.
Outside of this site there is a growing collection oftutorials from around the web.
Reference Documents
The detailed servlet configuring options is in theWEB-INF configuration.
Thedwr.xml section explains aboutConverters,Creators andSignatures in detail. This section is a must read for understanding what you can do with DWR.
From DWR 2.0 (currently in development) you can also configure DWR usingAnnotations.
There is also a small collection ofgenerated documents from things like JavaDoc.
Scripting the Browser
Thescripting introduction gets you started with how to write Javascript code to call your Java code. DWR comes with 2 Javascript libraries to help you:
engine.js: Handles all server communicationutil.js: Helps you alter web pages with the data you got from the server (and a few neat extras too)
DWR is not a generic Javascript library so we try to steer clear of functions that are not specific to remoting functionality, however there are a few functions that sneak into util.js to make life a lot easier.
It is common to need topass extra data to callback methods and there is also a reference to how tohandle errors too.
Integration
See the section onintegration.
Other Documents
Things that don‘t fit into any of the above categories:
How to writesecure code with DWR Thesupported browsers Thesupported environments How toupgrade from older versions of DWR
A table of contents without descriptions follows:
Overview of DWRGetting StartedExamplesTutorials From Around the WebHints and TipsSolving Common ProblemsWEB-INF Referencedwr.xmlAnnotationsGenerated DocumentationScripting Introductionengine.jsutil.jsAjax DocumentationError HandlingIntegrationPassing extra data to callbacksReading from other URLsRelated ProjectsSecurityBrowser SupportSupported EnvironmentsChangelogUpgrading DWRDevelopment
‹ DownloadupOverview of DWR ›
Documentation submitted by joe on 7 Aug 2006 - 10:33
Getahead is a small IT consultancy run byJoe. Projects hosted here include:
DWR: Easy Ajax for Java. Export your Java code to a browser and include the results in your pages.
DocTree is a comprehensive index to the JavaDoc from 110 Java projects.

DWR - Easy AJAX for JAVA
DownloadDocumentationOverview of DWRGetting StartedExamplesTutorials From Around the WebHints and TipsSolving Common ProblemsWEB-INF Referencedwr.xmlAnnotationsGenerated DocumentationScripting Introductionengine.jsutil.jsAjax DocumentationError HandlingIntegrationPassing extra data to callbacksReading from other URLsRelated ProjectsSecurityBrowser SupportSupported EnvironmentsChangelogUpgrading DWRDevelopment
SupportNon-English Documentation