• 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:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

Question from ejbcertificate.com

 
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all:
This is one of the questions from ejbcertificate.com
Which one of the following statements regarding the client view of exceptions received from an enterprise bean invocation is correct?
ANS:
A..A local client cannot continue a transaction if javax.transaction.TransactionRolledbackLocalException is received
B..A remote client cannot continue a transaction if javax.transaction.TransactionRolledbackException is received
Given answer is B .I think answer A is correct .Any comments!!!
 
Ranch Hand
Posts: 775
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sneaky. B is correct. Hint: look really, really close at the Java.
 
Venkatesh Kumar
Ranch Hand
Posts: 68
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Reid,
Th reason I said that answer A is correct was that TransactionRolledbackLocalException is a subclass of EJBException,Runtime Exception .If a runtime exception occurs the container rolls back the transaction and the client cannot continue ..
 
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
javax.ejb.TransactionRolledbackLocalException !
 
Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Venkatesh Kumar:

Which one of the following statements regarding the client view of exceptions received from an enterprise bean invocation is correct?
A..A local client cannot continue a transaction if javax.transaction.TransactionRolledbackLocalException is received
B..A remote client cannot continue a transaction if javax.transaction.TransactionRolledbackException is received
Given answer is B .I think answer A is correct .Any comments!!!


Originally posted by Rixin Lan:
javax.ejb.TransactionRolledbackLocalException !


Together both the posts throw more light
 
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello all,
Well, I am not good at decrypting messages. So, can someone please write in an english language for me about this instead of little cute messages?
Regards
Maulin
 
My pie came with a little toothpic holding up this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic