Directory

← Back

DontPush OzoneLayer

A constantly open communication mechanism to eliminate the need for pushing or polling.

Author

Rating

Popularity

<100

This is a sister project for DontPush. The main idea in both is to replace the default XHR based communication in Vaadin with a version that keeps the connection always "online". UI changes from non-user initiated threads will reflect seamlessly to the browsers.

The difference between the original DontPush add-on and this is that the OzoneLayer version is using Atmosphere framework for broader support as where the original DontPush uses a flash based fallback to simulate WebSockets in all browsers. Atmosphere framework provides a stable communication channel, that will use best available method. WebSockets are used if supported by both server and client. Else Atmopshere will fallback to various long polling based methods spiced with e.g. Servlet 3.0 request suspension if available.

The project currently works with Atmosphere versions from 0.7.2 to latest 0.8.6. In theory all browser-server combinations supported by Atmosphere should work.

To use this add-on you need to use a custom vaadin servlet and also configure an atmosphere servlet. The best way to get started is to check out the maven based example project. Check especially META-INF and WEB-INF directories and pom.xml for dependencies.

The project is currently developed by Mark Thomas and Matti Tahvonen. Contributions are more than welcome. Use the google code project page for development related communication (bugs, enhancement requests and patches). For usage related discussions use Vaadin forum.

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

  • Updated to atmosphere 1.0.9
  • repaint whole screen if an uncaught error happens during variable changes
Released
2013-01-17
Maturity
STABLE
License
Apache License 2.0

Compatibility

Framework
Vaadin 6.8+
Vaadin 6.0+ in 0.4.9
Browser
Browser Independent

DontPush OzoneLayer - Vaadin Add-on Directory

A constantly open communication mechanism to eliminate the need for pushing or polling. DontPush OzoneLayer - Vaadin Add-on Directory
This is a sister project for DontPush. The main idea in both is to replace the default XHR based communication in Vaadin with a version that keeps the connection always "online". UI changes from non-user initiated threads will reflect seamlessly to the browsers. The difference between the original DontPush add-on and this is that the OzoneLayer version is using Atmosphere framework for broader support as where the original DontPush uses a flash based fallback to simulate WebSockets in all browsers. Atmosphere framework provides a stable communication channel, that will use best available method. WebSockets are used if supported by both server and client. Else Atmopshere will fallback to various long polling based methods spiced with e.g. Servlet 3.0 request suspension if available. The project currently works with Atmosphere versions from 0.7.2 to latest 0.8.6. In theory all browser-server combinations supported by Atmosphere should work. To use this add-on you need to use a custom vaadin servlet and also configure an atmosphere servlet. The best way to get started is to check out the maven based example project. Check especially META-INF and WEB-INF directories and pom.xml for dependencies. The project is currently developed by Mark Thomas and Matti Tahvonen. Contributions are more than welcome. Use the google code project page for development related communication (bugs, enhancement requests and patches). For usage related discussions use Vaadin forum.
Demo sources
DontPush add-on with native WebSockets
Change history
Manual
Project Homepage

DontPush OzoneLayer version 0.3.2
null

DontPush OzoneLayer version 0.3.3
see release notes from links on the right

DontPush OzoneLayer version 0.3.4
See changes history from links section

DontPush OzoneLayer version 0.3.5
See change history link

DontPush OzoneLayer version 0.3.6
Now compatible with atmosphere 0.8.1 See change history for details.

DontPush OzoneLayer version 0.3.7
See change history

DontPush OzoneLayer version 0.3.8
TransactionListener support and bug fixes, see changes link for more details.

DontPush OzoneLayer version 0.3.9
* fake request/response in transaction listeners should now be compatible to any server (dynamically created proxies) * payload can now contain new line characters * fixed npe:s in some cases where window or component is now more attached

DontPush OzoneLayer version 0.3.10
See change history

DontPush OzoneLayer version 0.3.11
* Details detected with javascript in WebBrowser now present. * Atmosphere 0.8.5 dependency Also moved demos to another server. Much slower cloud server, but hopefully more stable (original service provider shut down all its services).

DontPush OzoneLayer version 0.3.12
Better error handling in random cases when user navigates away from the page.

DontPush OzoneLayer version 0.3.13
No functional changes, the installation package from vaadin.com/directory now just includes required dependencies for non-maven (or other sane build system) users.

DontPush OzoneLayer version 0.4.0
* Stability: Large messages are now split to into pieces. Fixes issues with with large UIDL responses (Atmosphere seems to clip them at 8kb on Websockets). * Stability: Paint phase now skipped if now active listeners (e.g. during network blackout) and on reconnect full repaint is enforced to make sure all the state is up to date * Enhancement: "Connection Guard" now reports to user in case of connection issues. * Enhancement: Now defaults to Atmosphere 0.8.6

DontPush OzoneLayer version 0.4.1
* Stable handling of the communication indicator * atmosphere 0.8.6 workaround

DontPush OzoneLayer version 0.4.2
ConnectionGuard timeout is now configurable and has a specific style name so it can be themed.

DontPush OzoneLayer version 0.4.3
fixed a memory/thread leak and some work towards OSGI support

DontPush OzoneLayer version 0.4.4
* fixed rare issue with message splitting * fixed potential memory leak

DontPush OzoneLayer version 0.4.5
* New helper to tackle with concurrency and if UI code depends on e.g. stuff setup and tear down with transaction listeners * Re-attached windows now work again (regression)

DontPush OzoneLayer version 0.4.6
* messages splitting fix for issue when split hit an utf8 extended byte

DontPush OzoneLayer version 0.4.7-SNAPSHOT
* fixed request detected WebBrowser details (regression)

DontPush OzoneLayer version 0.4.7
fixed issue 11

DontPush OzoneLayer version 0.4.8
fixed invalid build (missing change sets)

DontPush OzoneLayer version 0.4.9
null

DontPush OzoneLayer version 1.0.0
Major new release of which most part belongs to development of Atmosphere framework that has progressed a lot lately. * Now uses first "stable" Atmosphere release 1.0.0 * Added additional checks for message integrity * More websocket supported combinations * bug fixes NOTE, There may be regression due to large update in this add-on and its dependencies. There is no change project authors could check each and every server-browser setup. Please let us know of any issues you find on Vaadin forum or via project page issues.

DontPush OzoneLayer version 1.0.1
Major new release of which most part belongs to development of Atmosphere framework that has progressed a lot lately. * Now uses first "stable" Atmosphere release 1.0.0 * Added additional checks for message integrity * More websocket supported combinations * bug fixes IMPORTANT! GWT 2.4.0 is required to compile this add-on. In most cases it should be fine for Vaadin 6.x series, but requires Java 1.6. In 1.0.0 -> 1.0.1 * Ability to instruct browsers to go straight to comet (faster startup if it is known that websocket is not supported) * fixed invalid GWT dependency in pom.xml NOTE, There may be regression due to large update in this add-on and its dependencies. There is no change project authors could check each and every server-browser setup. Please let us know of any issues you find on Vaadin forum or via project page issues.

DontPush OzoneLayer version 1.0.2
* Upgraded to Atmosphere 1.0.2 * More graceful handling of session timeout

DontPush OzoneLayer version 1.0.3
fixed regression from 1.0.2

DontPush OzoneLayer version 1.0.4
* Updated to atmosphere 1.0.9 * repaint whole screen if an uncaught error happens during variable changes

Online