posted 20 years ago
We arent allowed to get a reference to EJBObject or get primary key in Home methods because the bean has no EJBObject (they are inside the pool).
What would happen if we called create() / findByPrimaryKey(..) on the home interface, then try to get a reference to those? Might be a meaningless thing to do, but would it return the references?
Here Home Methods mean Home Business Methods. Home business methods can be used by any ejbs.
create and findByPrimayKey will return EJBObject references.
Hope it helps
SCJP,SCWCD,SCBCD,SCEA Part I