Session managed bean


I have a usecase where I have two portlets and referencing one session scoped managed bean.

I would like both the portlets to reference the same instance of the session scoped bean, however in real world it is creating two different instances of the session scoped managed beans and persisting the instance data per portlet.

Any idea how can I make sure both the portlets (from the same project) use the same instance (rather than maintaining one instance per portlet)?

MWS server: 10.3, CAF application

Kind regards,