How to share data between all users of a portlet instance?
问题 I would like to share beans between all users of a portlet instance but I don't know how. I am working on a (Liferay) portlet that will have many data useful for every users of an instance of this portlet : after being placed on a page, the portlet will get data from DB that depends on its preferences. I would like this portlet to store this data in RAM and not in preferences to avoid conversion from/to String. I know I can store it in session, but this will create a copy of the data for each