Win a copy of Head First Android this week in the Android 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

mock questions

 
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
32. Which are true about Session bean passivation?
A) Passivation always uses Serialization.
B) A bean can be removed even while in a passivated state.
C) A bean can be passivated even while in a transaction.
D) Both stateless and stateful session beans can be passivated.
E) A UserTransaction reference cannot be passivated.
F) A 'Connection' reference cannot be passivated.
G) A resource manager connection factory reference cannot be
passivated.
H) A reference to a bean's privated JNDI environment can be
passivated.
I) A null reference can be passivated.
file:///D|/workspace/Certification/SUN/SCBCD/...0SCBCD%20Mock%20exams,%20practice%20tests.htm (10 of 14) [8/25/2003 11:48:07 AM]
gayanb.com :: DEVELOPER RESOURCES :: Free SCBCD Mock exams, practice tests
J) Under some circumstances, the bean might be passivated
*without*
getting an ejbPassivate method call.
33. Which must NOT be invoked on a bean's EJBContext until AFTER
the execution of the setSessionContext
method in a stateless session bean using CMT?
A) getEJBLocalHome
B) getEJBObject
C) getUserTransaction
D) getCallerPrincipal
E) isCallerInRole
F) setRollbackOnly
G) getRollbackOnly
H) getEJBLocalObject
 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
32. Which are true about Session bean passivation?
A) Passivation always uses Serialization.This is not guaranteed
B) A bean can be removed even while in a passivated state.yes .. in case of timeouts
C) A bean can be passivated even while in a transaction.No
D) Both stateless and stateful session beans can be passivated.No
E) A UserTransaction reference cannot be passivated.No .. It can be passivated
F) A 'Connection' reference cannot be passivated.Yes
G) A resource manager connection factory reference cannot be
passivated.No
H) A reference to a bean's privated JNDI environment can be
passivated.Yes
I) A null reference can be passivated.Yes
file:///D|/workspace/Certification/SUN/SCBCD/...0SCBCD%20Mock%20exams,%20practice%20tests.htm (10 of 14) [8/25/2003 11:48:07 AM]
gayanb.com :: DEVELOPER RESOURCES :: Free SCBCD Mock exams, practice tests
J) Under some circumstances, the bean might be passivated
*without*
getting an ejbPassivate method call.I Think .... No

So , I beleive .... B,F,H and I are answers to this Question.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic