Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HFEJB question

 
Mannu hak
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HF EJB says (on pg 249 question 17) that local home can be used to retrieve an EJBLocalObject. It it correct??

I'm just confused. I thought Local component should be able to do so not local home.

What do yo think?

Thanks
 
Agasthya Iyer
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Mannu,

Local component interfaces extend javax.ejb.EJBLocalObject. When the client calls create on the local home interface a reference to the Local component interface is returned back to the Client which the client uses to call business methods.

Was that helpful at all??

Best Regards,
Agasthya
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!