Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

AnOther mock question from SCBD revising site

 
mini mehta
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which of the following field values will be stored by the Container after the ejbPassivate completes?

1.A transient field with not null value.

2. A null

3. A reference to the UserTransaction interface.

4. An environment JNDI naming context.

5. A reference to the SessionObject even if it is not serialzable.
 
trupti nigam
Ranch Hand
Posts: 627
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think 2,3,4,5 are correct.

Thanks
Trupti
 
Vitaliy Geraymovych
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by trupti nigam:
I think 2,3,4,5 are correct.

Thanks
Trupti


IMHO 2,3,4

5 is wrong. What is SessionObject? Or it meant to be SessionContext?
If SessionContext than yes 5 is true also.

Vitaliy
 
trupti nigam
Ranch Hand
Posts: 627
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am sorry..
If 5th is sessioncontext object then yes..else 5th is wrong

thanks
trupti
 
mini mehta
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

Sorry it should SessionContext Object.

But amazingly answers given at the SCBCD revising site are 2, 3 , 5.

Mini
 
Vitaliy Geraymovych
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by mini mehta:
Hi

Sorry it should SessionContext Object.

But amazingly answers given at the SCBCD revising site are 2, 3 , 5.

Mini


HFE 203. Passivation rule

"the bean's special JNDI context, or any of its suncontexts"

However, I am not sure it means the same as in question 4. I guess 4 could mean access to the root context of JNDI or may be by environment it means beans' environment which is bean's special JNDI context.

Vitaliy

BTW. where is "SCBD revising site"?
 
mini mehta
Ranch Hand
Posts: 120
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic