|Re: [ecf-dev] RemoteService + Context|
Hi Radostin and Franky,|
On 10/29/2010 8:08 AM, Radostin Surilov wrote:
Hope no one minds my jumping in here...but the answer to this question is yes...that's correct...at least for the ECF containers.
A question that comes up for me then is this: I suppose an alternative to what you are doing (using a threadlocal variable to distinguish every call on the proxy...right?)...would be to design your remote service expose some method parameter..i.e.
public void foo(Integer token);
that the client would be expected to pass in. Is this right?
I'm not saying one is better than the other (it depends upon the use case, I guess), I'm just trying to understand what you are doing and how ECF/remote services might better support it.