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

mock exam question 3 page 463

 
Keith Rosenfield
Ranch Hand
Posts: 277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The correct choice C. has newInstance() as the first method called during the lifecycle of a message-driven bean. What object is newInstance() called on? Is this the same as calling the constructor or does newInstance() in turn call the constructor?
Much appreciated.
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
newInstance() = call default constructor of bean class
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic