aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Beta Mock Question - Session Bean Passivation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Beta Mock Question - Session Bean Passivation" Watch "Beta Mock Question - Session Bean Passivation" New topic
Author

Beta Mock Question - Session Bean Passivation

Sandesh Tathare
Ranch Hand

Joined: Jun 22, 2003
Posts: 82

2) 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.

Answers: BCFHI


IMO, C) "A bean can be passivated even while in a transaction" is NOT Correct.

Isn't it?
:roll:
[ November 04, 2004: Message edited by: Sandesh Tathare ]

Regards,<br />Sandesh<br />(SCJCP, SCWCD, SCBCD - 99%, OCP-1)<br /> <br />Either find a way or create one.
Arun Krishnamoorthy
Greenhorn

Joined: Nov 03, 2004
Posts: 22
Yes, that's correct.
Arun Krishnamoorthy
Greenhorn

Joined: Nov 03, 2004
Posts: 22
I meant you are right...
Sandesh Tathare
Ranch Hand

Joined: Jun 22, 2003
Posts: 82
Thank a lot Arun
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Beta Mock Question - Session Bean Passivation