Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception question

 
Frederic Filiatrault
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Here's a MOCK question ;

Invoking javax.ejb.EJBObject.getPrimaryKey() on a session bean results in javax.ejb.EJBException been thrown.

is false.

Why ? it is because it is a Java.rmi.RemoteException ?

thk !
 
Leena Diwan
Ranch Hand
Posts: 351
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes

Leena
 
Ram Krish
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
RemoteException for Remote EJBObject, EJBException for Local EJBObject.

Ram
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic