As stated in section 10.5.8.5 of the EJB spec, RemoveException is an application exception and should thus be thrown only to indicate an application level failure. Hence, if the database is down, a RemoteException should be thrown instead because this is not an application level issue.
And in case of local entites, EJBException will be thrown instead of RemoteException, of course [ September 09, 2004: Message edited by: Valentin Crettaz ]
My Linked In
Squanch that. And squanch this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!