Originally posted by Ramesh Aiyappan:
I too would say that it should be a RemoteException as the javax.ejb.EJBHome.remove(java.lang.Object primaryKey) is NOT A VALID operation on a session bean.
Please correct me if I am wrong.
Njoy,
Ramesh.
Here is what spec says. Page 59.
"Because session objects do not have primary keys that are accessible to clients, invoking the javax.ejb.EJBHome.remove(Object primaryKey) method on a session results in the javax.ejb.RemoveException."
Vitaliy