Hi have a remote interface and when i call it from my client it is working fine. Now when i convert my remote interface to local interface and call it from client(Changing my JNDi Name), i get an exception
Exception in thread "main" javax.ejb.EJBException: Invalid (i.e. remote) invocation of local interface (null container).
Can any one please Help?
A remote client (like a standalone java app) cannot use a local interface.