I saw a lot of questions about how to serialize POJOs in java using different frameworks, but I really wanted to understand the need to make our POJO Serializable in the first place. You use JavaScript to process POJOs or Spring or any other frameworks - why should we always do POJOs Serializable?
Is this something that needs to be done in GOOD PRACTICE or BEST PRACTICE ?
If this is not the case, what is the advantage we could take by serializing the POJO classes?
There are several topics that discuss this, but I'm not very happy with the explanation / answers!
Can anyone shed light on this concept here?
source
share