on 08-12-2005 11:27 AM
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?
Hi Sergey,
of course you can perform initialization tasks during startup of your portalapplication. Just write a portal service, set a property startup=true and put your code into the init method.
You can have one singleton per classloader!
Regards, Karsten
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For a web project you will have .war which may be a collection of jar file.this war file may be integrated into a .par in portal to pu it in EP.
A scenario of .war & par file will be good for any appl to be deployed in portal.
Rdgs,
G
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.