• 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
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
Bartenders:
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

is question #4 from HFE�s Final mock correct?

 
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here it goes

Wich method(s) can be run by a CMP bean in the pooled state? (Choose all that apply.)

A.)ejbLoad()
B.)ejbFind()
C.)ejbStore()
D.)ejbCreate()
E.)Business method
F.)ejbHome

According with the book, the right answers are B and F.
OK. Those are the only methods that don�t change the bean�s pooled state.
But you can run ejbCreate on a pooled bean too.
So, I disagree with the book�s answer.
Is it correct ?
 
Ranch Hand
Posts: 393
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Question is which all methods can be run on a bean when a bean is in pooled state without moving the bean out from the pooled state to ready state.so in this case we can only call either ejbfind or HomeMethods.

If you call ejbCreate,it will move the bean out from pooled state to ready state.

I hope it helps !!!

cheers !!!
 
reply
    Bookmark Topic Watch Topic
  • New Topic