Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mock Question

 
Amirr Rafique
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please explain following question's answer from javabeat

A method of business interface of CMT bean throws non-application exception, then the client will receive :- (choose two best answers)

1.javax.ejb.EJBTransactionRolledbackexception if bean executes within caller's transaction and with required transaction attribute
2.Javax.ejb.EJBException if bean executes within transaction started by container, and with requiresNew transaction attribute
3.Java.rmi.RemoteException if bean executes within caller's transaction and with required transaction attribute
4.Javax.ejb.EJBException if bean executes within caller's transaction and with Mandatory transaction attribute



Correct answer is 1, 2
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic