Questions tagged [vaadin-push]

vaadin-push is a new server-client communication feature in Vaadin 7.

vaadin-push is a new server-client communication feature in Vaadin 7 java web-framework.

13 questions
7
votes
0 answers

Vaadin + Spring Boot errors: "Cannot enhance @Configuration" and "More than one Servlet Mapping defined"

I'm new to Spring and Vaadin. I'm trying to go through tutorial for views navigation. I'd like to enable @Push in future to update views periodically with data fetched from DB. The project is very, very simple. I use no configuration class nor any…
alwi
  • 431
  • 6
  • 21
6
votes
1 answer

VAADIN Push not available with tomcat8 embedded

I created a simple test application: import java.util.logging.Logger; import org.apache.catalina.Context; import org.apache.catalina.LifecycleException; import org.apache.catalina.startup.Tomcat; public class Main { private final static Logger…
Supamiu
  • 8,501
  • 7
  • 42
  • 76
2
votes
0 answers

Vaadin 8 Push is sometimes synchronous

We have a Vaadin 8 application using @Push functionality to push data to the UI which should be loaded asynchronously. To load the data, we create a Runnable which is executed in an Executor and then makes a callback to a function in the UI/View,…
Malte
  • 589
  • 5
  • 24
2
votes
1 answer

Vaadin: Auto-refresh Grid (ajax-like)

Vaadin 7.4 introduced Grid, a brand-new component to display tabular data. In my application I have a view that contains a Grid. The grid is populated with a dynamic data (there is a rest service that populates the grid container). That said, I…
Doon
  • 3,339
  • 5
  • 25
  • 31
2
votes
1 answer

Vaadin 7: Filters, EntityManager per Request(hibernate), JPAContainer and push/websockets usage

I am using Wildfly 8.1 and Vaadin 7.3.beta1. I am starting an EntityManager in a @WebFilter and managing the transaction at that layer, that is folowing the entitymanager-per-request pattern recommended for the usage of the JPAContainer…
David Hofmann
  • 5,683
  • 12
  • 50
  • 78
1
vote
1 answer

Vaadin @Push with Vaadin4Spring Security

Is anyone using Vaadin @Push with vaadin-spring-boot-starter and Vaadin4Spring Security extension? Here is Vaadin related dependencies on our project: compile 'com.vaadin:vaadin-client-compiled:7.5.8' compile 'com.vaadin:vaadin-client:7.5.8' …
turgos
  • 1,464
  • 1
  • 17
  • 28
1
vote
1 answer

Vaadin Push - ContextNotActiveException

I´m using Vaadin 7.5.8 on Wildfly 9.0.2. In our application we need Push support, so I´ve added the maven dependency com.vaadin vaadin-push and added PushMode Parameter to servlet…
user652158
0
votes
3 answers

NoClassDefFoundError with Vaadin 8 Push and Spring Boot version 1.5.1

I am getting the below error when Vaadin 8 Push enabled with Spring Boot version 1.5.1.RELEASE. java.lang.NoClassDefFoundError: org/springframework/boot/context/embedded/ServletListenerRegistrationBean at…
turgos
  • 1,464
  • 1
  • 17
  • 28
0
votes
1 answer

Session time out notification

My web-application developed on Vaadin - Servlet using Tomcat server. When user clicks logout link, session timeout error is coming and then after some time it is automatically redirecting to login page. Previously the redirection was so fast that…
0
votes
2 answers

Unable to write the complete message as the WebSocket connection has been closed

We have Vaadin Push enabled with @Push(transport = Transport.WEBSOCKET_XHR). When UI detached, we see the below exception at the log. Seems like it does not impact anything other than errors at the log. Do you know how to close the connection…
turgos
  • 1,464
  • 1
  • 17
  • 28
0
votes
2 answers

How to update Vaadin Grid after push?

I'm trying to update a grid in Vaadin after a change has been made to the grid from a different UI instance. To elaborate, I have two different UI instances, UI1 and UI2 (tabs from two different browsers). These UI instances contain a view which…
tankucukoglu
  • 455
  • 6
  • 20
0
votes
1 answer

Sharing a List between two vaadin components

I am having a multi row single column table which is to be populated from a List. And this List is populated via a modal window and when ever there is an update in this List the table has to be updated. How do I achieve this…
g0c00l.g33k
  • 2,458
  • 2
  • 31
  • 41
0
votes
1 answer

How to dynamically push-update pages in vaadin?

I have a working application with Vaadin and Spring (+Security). I'm now trying to dynamically push updates to the client interfaces using vaadin-push. I want to create a "view" that is the same for all clients. The view should get a counter…
membersound
  • 81,582
  • 193
  • 585
  • 1,120