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 tells 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