I understood, I think, that a \"Bean\" is a Java class with properties and getters/setters. As much as I understand, it is the equivalent of a C struct. Is that true?
<
POJO(Plain Old Java Object) :- POJO are ordinary Java object, with no restrication other than those forced by the Java Language.
Serialization :- It is used to Save state of an object & send it across a network. It converts the state of an object into byte stream. We can recreate Java object from byte stream by process called Deserialization.
Make your class implement java.io.Serializable interface. And use writeObject() method of ObjectOutputStream class to achive Serialization.
JavaBean class :- It is a special POJO which have some restrication (or convention). 1. Implement Serialization 2. Have public no-arg constructor 3. All properties private with public getters & setter methods.
Many framework - like Spring - uses JavaBean object.