Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

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
 
You learn how to close your eyes and tell yourself "this just isn't really happening to me." Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic