SBs are mainly used as control (worflow) objects. EBs provide an OO view (business objects) of data in (relational)database.
Timber Lee
Ranch Hand
Joined: Oct 14, 2002
Posts: 157
posted
0
it is to expensive for entity bean to perform business logic.
Thomas Hofmann
Ranch Hand
Joined: Nov 23, 2002
Posts: 72
posted
0
Sure, the usage of an entity bean as business object is more expensive than a plain java object, because an entity bean provides TX and security (and distibution [remote EBs])features. But according to your question entity beans are used as business objects and session beans for control logic -> session facade pattern.