Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

exception that client gets when he calls remove on a bean

 
Ranch Hand
Posts: 151
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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