Upgrading from DWR version 2.0 to DWR version 3.0
If you are upgrading from a version prior to 2.0, see the full upgrade notes.
These are the changes that you must make to upgrade from version 2.0 to version 3.0:
DWREngine = dwr.engine; DWRUtil = dwr.util;to re-enable the old behavior.
- Starting with DWR 3.0 RC2 if you are using Jetty 6 with reverse AJAX you will need to either upgrade to Jetty 7+ or follow the directions here: http://www.butterdev.com/dwr/2010/01/dwr-3-x-and-jetty-continuations-on-jetty-6-x/. Due to changes in the Jetty Continuation API.
- Starting with DWR 3.0 RC3 full streaming is now the default for browsers that support it. Use the maxWaitAfterWrite setting if desired to go back to Early Close Mode for all connections.
- DOMConverters - If you are using a DOMConverter (DOM4JConverter.java, DOMConverter.java, JDOMConverter.java or XOMConverter.java) it will now return either an Element or a Document based on the type of data. Prior to 3.x a DOMConverter always returned a Document.
- Spring Schema Change - Creator configuration is no longer allowed inside the dwr:configuration element. Please see this discussion on the mailing list for more information.