Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HFEJB question  RSS feed

 
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!