• 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 ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • 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
Hi,
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..
Thanks,
Prasad
 
Bartender
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.
Best,
Phil.
reply
    Bookmark Topic Watch Topic
  • New Topic