what is a pojo
Actually, a POJO is a class that is NOT an entity bean. POJO stands for Plain Old Java Object, which if taken literally, refers to any java class. However, the implied meaning is a java class that does not extend any class. All entity beans extend the javax.ejb.EntityBean interface, so they are not POJOs.