At page 559 HF, it is mentioned that the exceptions thrown for following cases.
1)
Client calls getPrimaryKey() on the local component interface of a session bean Ans: EJBException
2)
Client calls the home remove method on the LOCAL home interface of session bean. Ans: RemoveException
I dont understand (2) case. I guess that should be EJBException. My thinking is (2) is against the
EJB rule so it shud throw EJBException.
Can somebody explain me, please.
Thanks,
Prashant