You have to get it from the EntityContext - that contains the information for the instance you want to reference.
Ok, what I am doing is:
I have the usual
public abstract class MyEB
public void setEntityContext(EntityContext context)
this.context = context;
public ejbHomeMyMethod(SomeParam param)
... other blurb ...
Obviously "context" is the previously saved EntityContext.
I guess we both mean the same thing...
Yet this does not work.
The last post was way too quick. You meant: context.getEJBLocalHome()!