We have entity beans with only Local and LocalHome Interfaces and session beans accessing entity beans over local references. We defined JNDI names for entity beans in ejb-j2ee-engine.xml and tried to access them from within session beans over JNDI, but it does not work! (the engine seems not to register local ejb's under JNDI!?)
When we defined <ejb-local-ref> entries in ejb-jar.xml for each session bean that accesses an entity bean, it works! But registering every local entity access for every session bean is a lot of work to do :-(.
Is there a way to register a local reference to en entity bean with JNDI that it can be access by every session bean in the same application via the same JNDI name? Anyone has an idea?