I design a EJB to manage documents.I think RMI may not support stream-type data transport, so I choose a stateful session bean and maintain stream object in EJB, but this will cause the bean cant't be serializable and throw exception.
What should I do?