I have a configuration file (xml) that I need to read and populate singleton.
The first problem is How to perform initialization before any portlet will be started (similar like ServletContextListener). ?
Do I need 2 archive files (*.war and *.par) inside *.ear ?
Is it posible to have only one singleton for portlet and web application ? What scenario will be more appropriate?