Hi,
I need to serialize Email objects to be able to sent them later (processed by a different server using ActiveMQ). But since none of the classes implement java.io.Serializable interface, I'm not able to use auto serialization (unless I manually serialize/deserialize them, which, of course, is a lot of work).
I'm wondering if you have thought about having some of the classes (like Email, Recipient etc) implement the marker Serializable interface or not. If you have, is there any downside of implementing the interface that I'm missing? If you haven't thought of it, would you be open to having those classes implement the interface?
Thank you!
Hi,
I need to serialize
Emailobjects to be able to sent them later (processed by a different server using ActiveMQ). But since none of the classes implementjava.io.Serializableinterface, I'm not able to use auto serialization (unless I manually serialize/deserialize them, which, of course, is a lot of work).I'm wondering if you have thought about having some of the classes (like
Email,Recipientetc) implement the marker Serializable interface or not. If you have, is there any downside of implementing the interface that I'm missing? If you haven't thought of it, would you be open to having those classes implement the interface?Thank you!