Web application initialization

Hi,

We are developing an web application with several portlets on it. For each of the portlets there’s the JSF initialize method on the view that enables us to do one time initialization stuff. But the thing is some of this initial code must run for every portlet; does anyone knows how to run it once (like a global initialize method) and then access the results on the each of the portlets?

Cheers
Bruno