DWR 2.0 milestone 1 does 'reverse Ajax'
The DWR project has released version 2.0 milestone 1:
This is probably the biggest release we've done in terms of new features:
Reverse Ajax: DWR 1.x allowed you to asynchronously call Java code from Javascript. DWR 2.0 builds on this to allow you to asynchronously call Javascript code from Java. Reverse Ajax makes writing interactive applications much easier. The detailed release notes have more details and there is a chat example in the war file download.
Cross-Domain Ajax: We now allow script tag remoting to enable cross-domain Ajax. This is in addition to XMLHttpRequest and iframe remoting.
Automatic signatures Element: If you are using DWR 2.0 with JDK5 generics then you can skip the signatures element in dwr.xml. DWR can now work out the correct mapping all for itself.
看新特性蛮有意思的
DWRUtil Updates: The biggest change is to allow template style DOM manipulation. Using cloneNode() you can create a repeated HTML structure from an array of Javascript data.
Other new features: See the release notes for details of the refactoring to the org.directwebremoting package, new script scope for creators and attributes, and the new call meta-data abilities.
For more information see the detailed release notes, or go straight to the download area
2759

被折叠的 条评论
为什么被折叠?



