We had some weeks ago a remote stateful EJB (BMP) and we used its handler (EJBHandler) in the passivation process, so after that we recovered that handler and no problem.

We changed that EJB to a local one, and now we are unaware to serialize it (its interface is not Serializable).

How can we serialize that EJB (or a "handler" of it), taking in mind that local EJB has no handler?

Thanks in advance