This week's book giveaway is in the Cloud forum.
We're giving away four copies of The Business Blockchain and have William Mougayar on-line!
See this thread for details.
Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

mock questions

 
chao cai
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • 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
 
Prathibha Bharathi
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic