Isn't there anybody on the forum who can help me with this problem, has somebody else come across this issue before and managed to work around it?
Hello, I am also looking for a solution for the same problem, have you found any solution yet?
Yes I did find the solution, my apologies for not updating the this thread. Basically there is no need to do anything special, in EJB3 you can simply serialize the remote object directly, i.e.
ObjectOutputStream out =
And then to deserialize simply read it it again, i.e.
ObjectInputStream in = new ObjectInputStream(newFileInputStream(serFile));
RemoteBean rem = (RemoteBean) in.readObject();
Thanks for your reply. For serialization the remote interface need to implement the Serializable interface or not? Also I wonder whether the remote object can be stored in HttpSession as an attribute.