wood burning stoves 2.0*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes doubt in stateful session bean passivation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "doubt in stateful session bean passivation" Watch "doubt in stateful session bean passivation" New topic
Author

doubt in stateful session bean passivation

Shanmugam Karthikeyan
Ranch Hand

Joined: Aug 02, 2002
Posts: 58
1. 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.
J) Under some circumstances, the bean might be passivated *without*
getting an ejbPassivate method call.


ANS given : B,C,F,H,I - how come option c is possible
my answer : b,f,h,i


SCJP 1.4<br />SCWCD 1.4<br />SCBCD 1.3
Ugender Rekulampally
Ranch Hand

Joined: Nov 14, 2005
Posts: 130
Karthikeyan,
yes, you are right. choice 'C' is wrong.

Ugender
Raj Kumar Bindal
Ranch Hand

Joined: Apr 15, 2006
Posts: 418
i am not clear abt options h & i.
**i think there is no use of passivating null reference.
**plz clarify beans private JNDI environment.
 
Don't get me started about those stupid light bulbs.
 
subject: doubt in stateful session bean passivation
 
Similar Threads
New Mock Exam questions...
Doubts in Mock exam questions.
mock questions
Beta Mock Question - Session Bean Passivation
Mock question