Win a copy of OCP Oracle Certified Professional Java SE 11 Developer Practice Tests this week in the OCP 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Ron McLeod
  • Tim Cooke
Sheriffs:
  • Devaka Cooray
  • paul wheaton
  • Mark Herschberg
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
  • Jj Roberts
Bartenders:
  • Carey Brown
  • salvin francis
  • Piet Souris

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: 8943
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
 
The government thinks you are too stupid to make your own lightbulb choices. But this tiny ad thinks you are smart:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic