Skip to Content
Former Member
Aug 12, 2005 at 10:27 AM

Portles and Servlets in one application


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?