Vaadin 8 & 10
A lot has changed in the intervening years.
Communication Problem? (http://dev.vaadin.com/ticket/8466)
That ticket has been migrated to GitHub as Issue 2178. Now marked closed. Seems to be bugs in Tomcat and browsers, now fixed.
This is a bug caused by the cookie handling of certain browsers when using Tomcat 7 and no trailing slash is used in the address after the name of the app (i.e. http://host/app instead of http://host/app/).
You can fix this by setting the context attribute sessionCookiePathUsesTrailingSlash to false.
Session expired message? (I set the session to expire after 300 minutes. But it happens before. But, not all the time)
I have not tried this, and I am just guessing here, but it looks like we have a getter for the session expiration message displayed to user here, com.vaadin.server.SystemMessages
class, methods getSessionExpiredCaption()
& getSessionExpiredMessage()
.
The description for that SystemMessages
class says:
Use VaadinService.setSystemMessagesProvider(SystemMessagesProvider) to customize.
So perhaps we can override the session-expired message by implementing the SystemMessagesProvider
interface. (I am not sure how all this works.)
App freezes sometimes. (I can click buttons, But no use.. No actions.. Only way is to restart)
I do not know about this. I have found Vaadin 7 to be very stable in production, running for countless months at a time without failure. Vaadin 8 in my current development efforts also seems completely reliable.
The implementations of web browsers, web servers, Java Servlet containers such as Tomcat & Jetty, and so on have dramatically improved and evolved in recent years.
If the user’s web browser has lost contact with the Vaadin server, they should see a message displayed.
Very bad performance in IE. (I know it is common for all web apps. But, my application when compared to other browser; IE totally sucks. Someone please talk with gates to stop IE... :-(
Yes, indeed IE was a series of terrible browsers, with many problems.
Fortunately, someone did indeed talk to Gates/Ballmer/Nadella. The Internet Explorer product line has ended. Replaced with Microsoft Edge. A huge improvement. They seem to have a new spirit, and heartily endorse and follow web standards now.
See the CanIUse.com site to see which versions of what browsers support which features in HTML, CSS, etc.
Lazy loading in treetable will be really helpful for me.
The TreeTable
widget is supplanted by TreeGrid
in Vaadin 8. This new widget shares technology in the amazing new Grid
widget.
See also the manual page on Hierarchical Data. It discusses lazy-loading data from your backend.
Here is an article on lazy-loading in Vaadin 8 by Alejandro Duarte.
ICEPush add-on, doing its job perfectly. But, after sometime it is giving me exception in the console.(https://vaadin.com/forum#!/thread/234493/4528542)
Push technology is now supported within Vaadin, as a built-in feature. Amazingly, basically all you need to do is add a @Push
annotation to your app.
The Push implementation in Vaadin is based on the popular, robust, and well-proven library, Atmosphere.
See the manual page, Server Push.
Be aware that Push technology has improved dramatically in recent years, especially WebSocket. The new HTTP/2 standard furthers the advancement. Be sure to use the later versions of web containers such as Tomcat, and of Vaadin, and of the web browsers.
If I do any action in a browser. It is reflected in another browser(another instance of the application. (http://dev.vaadin.com/ticket/10208)
See update to that ticket. Seems to be a non-issue.
Looks like passing in the page like: new Notification(message).show(ui.getPage()) solves the problem…
Context menu add-on: Easy to implement and fantastic. but, gives me exception on multiple right clicks on a slow network. https://vaadin.com/forum#!/thread/119996/4455717
I cannot speak to this except to say:
- There is much discussion on that thread.
- That component has now been integrated as part of the Vaadin framework.
I suggest trying it again. (I have not used it.)
Annoying exception messages. what is the need to show it on the UI?
Not sure what you mean here.
If you refer to Java exceptions, I am not sure what else you would want to happen, if the app has errored-out for that user.
If you refer to session communication problems, you should know that recent versions of Vaadin try more aggressively to maintain and re-establish a problem connection.
I cannot find links at the moment, but it has been documented. Perhaps in their blog.
My Vaadin server is in UK and API server is in US, Is this a reason for the communication problem?
Of course maintaining sessions over the Internet can be problematic.
What I can tell you is that Vaadin has worked well for me with my server deployed in a colo in Wisconsin US and users running successfully from Florida, Seattle, Canada, and even Hong Kong using an app that uses Push to update displayed data every minute.
If your network is unreliable, then an actively “chatty” architecture such as Vaadin is not appropriate.