Win a copy of TDD for a Shopping Website LiveProject this week in the Testing 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:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

Answer pls...?

 
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
correct me the following quastions.
Question #: When authoring an EJB which of the following exceptions CANNOT be thrown by an EJB 1.1 compliant bean? �
A. EJBException �
B. RemoteException �
C. CreateException �
D. Any application-specific exception �
MyAnswer:EJBException�
Question #: Which two statements are true about a session bean that implements the SessionSynchronization interface? (Select two)
A. The bean can be either stateless or stateful. �
B. The afterCompletion invocation communicates the outcome of the transaction to the bean.
C. The bean can roll back the transaction during the beforeCompletion invocation. �
D. The afterBegin method will always be invoked at the beginning of the transaction, if one exists. �
My Answer is :B,D
thanks and regards,
seenu
 
Ranch Hand
Posts: 8944
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The answer for 1st one is RemoteException.
 
Seenu Reddy
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi pradeep,
thanks....what about second one.
regards,
seenu
 
Rototillers convert rich soil into dirt. Please note that this tiny ad is not a rototiller:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic