Keith Kee wrote:

> Hi:
>   Is it legal to pass an interface like List as a parameter to a remote
> interface of an EJB? Conversely, how about returning an interace like List
> as the return type? Since List is an interface and not serializable, I
> wonder if it would be marshalled/unmarshalled correctly.
> 
> Thanks,
> keith

Yes, you can pass the Interface.  The underlying object must be serializable, however. 
 Personally, I use ArrayList in this scenario.

-Steve

-- 
Stephen Davidson
Java Consultant
Delphi Consultants, LLC
http://www.delphis.com
Phone: 214-696-6224 x208


Reply via email to