Share context between applications


I have one application(one war) that contains several java classes that extends com.vaadin.Application.
Is there any way to make them communicate?
If I make this in one class
WebApplicationContext ctx = ((WebApplicationContext) getContext());
HttpSession httpSession = ctx.getHttpSession();
httpSession.setAttribute(param, “value”);

can I get this attribute visible from another one?

I have tried to use
but got no luck,
on one page I am doing
BrowserCookies cookies = new BrowserCookies();
cookies.setCookie(“userName”, login);
and on another one
BrowserCookies cookies = new BrowserCookies();
String cookie = cookies.getCookie(“userName”);
and cookie is null…

HttpServletRequestListener did the thing