• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NoSuchObjectException or RemoteException?

 
kenny lomax
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
I am a newbie here - and am swotting up for the exam with HeadFirstEJB.
I am confused over page 559 and 566:
If a client calls a method on an obect that has been removed, is a
NoSuchObjectException or a RemoteException thrown,
or similarly a
NoSuchObjectLocalException or EJBException.

I would think NSOE or NSOLE but page 559 saye Remote or EHBException
Many thanks!
Kenny
 
Muthaiah Ramanathan
Ranch Hand
Posts: 102
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I too agree with you - it should be either NSOE or NSOLE. But note that NSOE is subclass of RemoteException and NSOLE is a subclass of EJBException.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic