Integrating Multiple UIs

Currently, we have two Vaadin UIs in two seperate .WAR files. One is an application and the other is a login form. Is it possible to access the login form UI from the application UI and pass variables back and forth between the two UIs?

We plan to have one central login UI for all our applications, which is why we intend on setting it up this way, rather than integrating the login form in the application .WAR file.

It depends on what you mean by “access”. There are many ways to pass variables between the apps. In your case, HTTP GET or POST parameters could be a good option (VaadinService.getCurrentRequest().getParameter("param1")). You would probably have to set up a centralized authentication mechanism and make sure the apps don’t send sensitive information, mainly, in GET parameters.

Alejandro Duarte:
It depends on what you mean by “access”. There are many ways to pass variables between the apps. In your case, HTTP GET or POST parameters could be a good option (VaadinService.getCurrentRequest().getParameter("param1")). You would probably have to set up a centralized authentication mechanism and make sure the apps don’t send sensitive information, mainly, in GET parameters.

Thanks for the reply. VaadinService.getCurrentRequest().getParameter("param1") is to retrieve the parameter, but how do I go about setting the “param1” parameter and sending the POST request?