• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
  • salvin francis
  • Frits Walraven
  • Piet Souris

exception that client gets when he calls remove on a bean

Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The scenario I am writing is : Client calls remove() on a bean thats already been removed.
It is mentioned in HF EJB Book that remote clients get RemoteException and local clients get EJBException. (Page 559)
But, the spec says the client should get more specific exceptions ie, remote client gets NoSuchObjectException and local client gets NoSuchObjectLocalException. ( 18.3.4 & 18.3.5)
Please clarify..
Posts: 1872
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Prasad,
You're right, but there is non contradiction : NoSuchObjectException *is* a RemoteException and NoSuchObjectLocalException *is* an EJBException.
    Bookmark Topic Watch Topic
  • New Topic