It depends what the service is doing.    If the service is doing
information trawling then being typeless isn't a problem.  If its to
ship cars then its a problem.

Steve


2009/8/19 Sasan <[email protected]>:
>
>
> Hi,
>
> Is it good practice to have a service that exposes a method with a List of
> objects as a parameter? Programmatically speaking from Java programming
> point of view java.util.List.
>
> Example:
>
> public int method(java.util.List objects)
>
> Even if the interface is documented, I do not see this as a good practice
> cause this me the method takes a list of basically any object type.
> This could be troublesome for clients that discover services dynamically.
>
> I appreciate all opinions on this.
>
> Thanks,
> Sasan
> 

Reply via email to