on 2007 Feb 14 8:49 AM
Hi,
When I request a reference to a portal service (com.sapportals.portal.prt.service.IService) using WDPortalUtils.getServiceReference(...), then do I get a reference to an instance (of that service) that is not used at that moment? Or do I have to take into account the possibility of two clients invoking the same instance at the same time?
Thanks,
Jeroen
Dag Jeroen,
Portal Services are implemented as Singletons. That is, every code referencing a portal service references the same instance. <i>The service itself</i> should be aware of possible parallel calls of it's service methods (and consider synchronizing, if needed).
So your client code <i>should not</i> care about this "problem".
Hope it helps
Detlev
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.