Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Mock Question.. 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 "Mock Question.." Watch "Mock Question.." New topic

Mock Question..

Weerawit Maneepongsawat
Ranch Hand

Joined: Apr 11, 2002
Posts: 203
When a stateful session bean is about to be passivated, which of the following can remain assigned to non-transient fields of the session bean class?
choose 3
a) null
b) A reference to the javax.transaction.Transaction interface
c) A reference to the javax.ejb.SessionContext object (even if it is not serializable)
d) A JDBC connection
e) A serializable object whose declared type does not implement the Serializable interface.
Pls give me a answer and explain....Help me.

Weerawit<br />SCJP 1.4, SCWCD 1.2, SCWCD 1.4, SCBCD 1.3, SCBCD 5.0, SCMAD 1.0, SCJA 1.0, SCDJWS, SCJD, SCEA, SCDJWS 1.5
Balaji Akella
Ranch Hand

Joined: Oct 29, 2003
Posts: 35
The correct answers are a, c, and e.
Refer to page 71 of the spec. for more info.

In the morning there is hope; in the afternoon, fulfillment; in the evening, memory; at night, peace.
Weerawit Maneepongsawat
Ranch Hand

Joined: Apr 11, 2002
Posts: 203
Thank you for your response.....
I agree. Here's the link:
subject: Mock Question..
It's not a secret anymore!