I noticed that for an entity bean class, it has to be declared abstract since we have to provide the virtual persistent field and map them to the column in the database. Then for encapsulation reason, we implement public getters and setters to return and set the values from outside the class.
Question: If this is an abstract class, that means someone has to implement the concrete class since we have abstract methods, 'those virtual persistent fields', that need to be implemented. But according to the rule, we don 't have to implement those abstract getters/setters a.k.a. 'virtual persistent fields.' - we're supposed to leave them alone. This is really confusing.. can someone help me with this situation? thank you.