Hi,

In the test suite from zola (TestBeans), the "Entity Bean BMP" test (I
skipped the test for "Entity Bean CMP") doesn't workdue to a badly
bound jndi reference.

In setEntityContext, EntityBMPBean needs an ejb-ref ejb/MyEJBRef to
nextgen.StatelessSession, which doesn't get bound properly during
deployment (the link is ""):

...
[Container factory] Binding an EJBReference ejb/myEJBRef
[Container factory] Bind ejb/myEJBRef to
...

It seems that com/dreambean/ejb/EJBReference.java fails to build its
fields properly from the ejb-jar.xml file.  Furthermore, the
implementation based on event listening makes it relie on the order of
the xml tags (ejb-ref-name, ejb-link), which shouldn't be so.

I'll try to do a fix.

Sebastien

Reply via email to