Multiple Portlets Session in Vaadin

Hello Vaadin community,

I have created multiple portlets and i ve deployed them in Liferay 6.0.6, what i want to know is :

1.How does the session work when i use multiple portlets in my project?

2. I need to establish my connection with my session beans ( EJB ), im using RMI - IIOP for that, and im using one Connection class for that. Do i need to get the connection since each portlet (main class, who extends application class)?

Many thanks in advance for your help.

Silvia Juliana

For the first question with JSR-286 (Portlet 2.0):

If the portlets are in the same WAR, they share the session by default, and you can have both portlet and application scope portlet session attributes.

The settings that affect sharing of portlet sessions between WARs have multiple, complex effects. For session (attribute) sharing see
and especially the blog posts linked from there with plenty of diagrams.