Saturday, March 1, 2014

Vaadin pushes!

Vaadin is quite a good framework - the nicest thing about it is that it mimics Swing's idioms over GWT while hiding some of the latter's details (as RPC).

However there are some issues with Vaadin too. I have recently needed both Push and Cookies... It turned out that this is almost impossible due to the fact taht @Push takes over the entire communication hence Cookies are always null...

As a workaround, UI.getPushConfiguration().setPushMode(PushMode.DISABLE) sometimes works... but - there is no clear rule on when it does happen.


 

No comments:

Post a Comment