Can u tell me why code like the following in a Session Bean throws a UnmarshalException.
 
public Enumeration getItems ( )
throws RemotException {
    Vector items = new Vector ( );
    return items.elements ( );
}
 
with the definition in the remote interface
 
Enumeration getItems ( )
throws RemoteException;
 
The error tells me that Vector is not serializable.
 
But if instead of allocating the vector in the Session Bean,
I call anEntity Bean finder method that allocates the vector
the same way it does not fault.
 
Thanks in Advance

Reply via email to