Entity bean calling an entity bean

Hi,Can an entity bean call an other entity bean?
[62 byte] By [sankar_absa] at [2007-10-2 7:32:11]
# 1
technically possible.but it may indicate a very poor design.
parsifala at 2007-7-16 21:11:57 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

Yes, CMP 2.x style (and earlier) entity beans can perform all the same kinds of ejb access as session beans, message-driven beans, and web components.Many people consider this kind of work unfitting for entity bean components and choose to keep them limited to representing data and defining queries.

In the new persitence API being defined in Java EE 5 (renamed from J2EE 5) , persistence entities can no longer access ejb component like session beans and message-driven beans. They exist purely to represent persistent data and define queries.

--ken

ksaksa at 2007-7-16 21:11:57 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...