The question is in the title. Below I just described some of my thoughts and findings.
When I had very simple domain model (3 tables without any relations) all my entities did NOT implement Serializable.
But when domain model became more complex I got RuntimeException which said that one of my entities didn't implement Serializable.
I use Hibernate as a JPA implementation.
I wonder:
- Is it vendor-specific requirement/behavior?
- What happens with my serializable entities? Should they be serializable for storing or for transferring?
- At which moment it becomes necessary to make my entity serializable?