interfaces as service parameters?

From: Oliver Suciu <olivers_at_TIBCOFINANCE.COM>
Date: Wed, 06 Mar 2002 18:52:48 -0800

Hi all,

Would the following work in JAX-RPC?

// the service to be exposed:
public interface MyServiceProvider extends java.rmi.Remote {
  public MyData doSomething(MyData someData) throws

// the interface that all data objects must implement:
public interface MyData extends {

// some specific data object:
public class SpecificData implements MyData {
  public boolean flag;



-- Oliver