a question about POJO programming?

Hi all

according to this quote about POJOs:

The term was coined while Rebecca Parsons, Josh MacKenzie and I

were preparing for a talk at a conference in September 2000. In the

talk we were pointing out the many benefits of encoding business

logic into regular java objects rather than using Entity Beans. We

wondered why people were so against using regular objects in their

systems and concluded that it was because simple objects lacked a

fancy name. So we gave them one, and it's caught on very nicely.

it is stated we should use Java regular objects rather than Entity beans.

my question is, Are'nt entity beans simple java object? for example when we define an entity bean, say, Product or Customer, I think these objects are simple Java objects but it is stated they are not.

could any one clarify this for me?

regards

quote is from following site:

http://www.martinfowler.com/bliki/POJO.html

[1013 byte] By [bronze-starDukes] at [2007-11-26 12:09:45]
# 1
http://en.wikipedia.org/wiki/Enterprise_JavaBean#Reinventing_EJBs
silverstar at 2007-7-7 13:46:52 > top of Java-index,Archived Forums,Socket Programming...
# 2

A version 2 EJB actually consists of a cluster of three or more java classes, conforming to a long list of rules about method names etc.. You've got home interfaces and remote interfaces and implementations. (And sometime local interfaces).

Compared to using, say, Hibernate, it's a straightjacket.

A hibernate entity object can have anything in it.

goldstar at 2007-7-7 13:46:52 > top of Java-index,Archived Forums,Socket Programming...