This content has been marked as final.
Show 3 replies
-
1. Re: PooledInvokerProxy proposition
starksm64 Apr 20, 2006 3:39 AM (in response to olegnitz)This would have to be a configurable behavior. We have notions of treating the proxy address as a system property in the http invoker. Using the server portion of the JNDI provider url is yet another policy. Perhaps the most extensible solution is to provide an option address resolution plugin
public interface AddressResolver { public InetAddress resolveAddress(String address); }
This could be configured on the server, overriden on the client or configured via client settings (such as the JNDI provider url host) based on the implementation of the resolver. -
2. Re: PooledInvokerProxy proposition
olegnitz Apr 20, 2006 5:15 AM (in response to olegnitz)It's a possible solution.
However I think that having different behavior of http invoker and pooled invoker is natural and doesn't mean that we need some uniform solution. -
3. Re: PooledInvokerProxy proposition
tom.elrod Apr 25, 2006 3:23 PM (in response to olegnitz)Think the idea of having a address resolver is good. Only problem I see is how is a user going to be able to alter this during runtime on the client? Like in the case of ejb client proxy, there are no hooks to do this.