Got the following doubt. Please take a look at some code...
public interface StoreAccess extends javax.ejb.EJBObject
// ... StoreAccess is the remote interface of my bean
and in StoreAccessClient.java i have the following line of code. Question here... don't get, an interface getting a ref to other interface?
au.com.tusc.session.StoreAccess myBean = getHome().create();
Method getHome() returns StoreAccessHome (wich is the home interface of StoreAccess bean), and create returns StoreAccess, wich is an interface!
So, what's actually going one here? An interface receives a reference to other interface or receives a reference to the object of that interface implemented by j2ee container???
Is it way you a stub?