• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

AnOther mock question from SCBD revising site

 
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 644
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think 2,3,4,5 are correct.

Thanks
Trupti
 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 644
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://www.revisingscbcd.co.uk/index.jsp
 
We should throw him a surprise party. It will cheer him up. We can use this tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic