I am thinking of using an event bus approach im my app based on the Spring event mechanism to make the diferrent components of the app more loose coupled.
But in doing so I think I will have to have any to identify that a given event message is for a given ui component in a user session, so I will have to inject the user object in evrey component component and pass the useId in every event.
As anyone gone this road, or do you see any downside to this approach.
If you are using Vaadin Spring in your application and intent to use Eventbus, I would recommend to check these add-ons. There is Eventbus add-on included.